<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to execute curl command in abap ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591211#M23840</link>
    <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;HTTP 414 is "Request URI too long", so it seems that you passed the payload both through the body and through the URI. Why??? Pass the payload either in the URI or in the body, not in both!&lt;/P&gt;
  &lt;P&gt;That's not really an ABAP question by the way.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2018 12:46:26 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2018-01-22T12:46:26Z</dc:date>
    <item>
      <title>How to execute curl command in abap ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591202#M23831</link>
      <description>&lt;P&gt;Dear.&lt;/P&gt;
  &lt;P&gt;As we need to implement 3rd party http API, their specification is fit with curl command.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;curl -X POST --data "action=send" --data "data=&amp;lt;PAYLOAD&amp;gt;" &lt;/EM&gt;&lt;EM&gt;&lt;A href="http://www.mgage.solutions/servxml/XML_parse_API.php"&gt;http://www.mgage.solutions/servxml/XML_parse_API.php&lt;/A&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;Is there any way to call curl command in abap ? &lt;/P&gt;
  &lt;P&gt;and any other things to install in application server like HTTP_APP ?&lt;/P&gt;
  &lt;P&gt;Would you guide me how to call curl command from A to Z in detail ? &lt;/P&gt;
  &lt;P&gt;Best Regards,&lt;/P&gt;
  &lt;P&gt;SJ. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 00:22:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591202#M23831</guid>
      <dc:creator>kyoungmi_oh</dc:creator>
      <dc:date>2018-01-22T00:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute curl command in abap ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591203#M23832</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;The WAS has an integrated HTTP server and client - you can use this to do the HTTP POST&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://help.sap.com/viewer/753088fc00704d0a80e7fbd6803c8adb/7.5.9/en-US/b286b4512ea4414fb36f17b0568a86ac.html" target="_blank"&gt;Creating the HTTP Client&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;regards&lt;/P&gt;
  &lt;P&gt;Domi&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 07:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591203#M23832</guid>
      <dc:creator>Domi</dc:creator>
      <dc:date>2018-01-22T07:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute curl command in abap ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591204#M23833</link>
      <description>&lt;P&gt;Do you know that you can execute HTTP requests from ABAP? The answers are in the web.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 08:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591204#M23833</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2018-01-22T08:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute curl command in abap ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591205#M23834</link>
      <description>&lt;P&gt;Dear. Domi. &lt;/P&gt;
  &lt;P&gt;Yes, http connection was first thing we try. But there's limitation to call solution API. &lt;/P&gt;
  &lt;P&gt;API does not support POST method putting value in header side. &lt;/P&gt;
  &lt;P&gt;That's why 3rd party API suggests to use curl and we struggles to find how to call it on ABAP.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;SJ. &lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 08:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591205#M23834</guid>
      <dc:creator>kyoungmi_oh</dc:creator>
      <dc:date>2018-01-22T08:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute curl command in abap ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591206#M23835</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;
  &lt;P&gt;then put it in the body - eg as form data &lt;/P&gt;
  &lt;P&gt;regards &lt;/P&gt;
  &lt;P&gt;Domi&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 08:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591206#M23835</guid>
      <dc:creator>Domi</dc:creator>
      <dc:date>2018-01-22T08:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute curl command in abap ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591207#M23836</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
  &lt;P&gt;both body or header, it's not working.&lt;/P&gt;
  &lt;P&gt;Their API are not ready to get data in header and body.&lt;/P&gt;
  &lt;P&gt;It's just query string method, but it occurs 414 error when having long parameter value. &lt;/P&gt;
  &lt;P&gt;So need to implement it with curl. &lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;SJ.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 09:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591207#M23836</guid>
      <dc:creator>kyoungmi_oh</dc:creator>
      <dc:date>2018-01-22T09:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute curl command in abap ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591208#M23837</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;If you get an 414 from the server, how shoult this work with curl? If the "payload" is too large it won't work in curl either!?&lt;/P&gt;
  &lt;P&gt;regard&lt;/P&gt;
  &lt;P&gt;Domi&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 09:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591208#M23837</guid>
      <dc:creator>Domi</dc:creator>
      <dc:date>2018-01-22T09:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute curl command in abap ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591209#M23838</link>
      <description>&lt;P&gt;HI, Rossi.&lt;/P&gt;
  &lt;P&gt;Would you post URL describing on how to execute HTTP request from ABAP ? &lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;SJ&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 10:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591209#M23838</guid>
      <dc:creator>kyoungmi_oh</dc:creator>
      <dc:date>2018-01-22T10:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute curl command in abap ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591210#M23839</link>
      <description>&lt;P&gt;I meant "search yourself, the answers are in the web"&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 12:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591210#M23839</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2018-01-22T12:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute curl command in abap ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591211#M23840</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;HTTP 414 is "Request URI too long", so it seems that you passed the payload both through the body and through the URI. Why??? Pass the payload either in the URI or in the body, not in both!&lt;/P&gt;
  &lt;P&gt;That's not really an ABAP question by the way.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 12:46:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-execute-curl-command-in-abap/m-p/591211#M23840</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2018-01-22T12:46:26Z</dc:date>
    </item>
  </channel>
</rss>

