<?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: Calling HTTP from ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633135#M1282463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiva ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the function module HTMLCNTL_SHOW_URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2009 05:42:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-12T05:42:08Z</dc:date>
    <item>
      <title>Calling HTTP from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633134#M1282462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to call HTTP link from ABAP. On initial research , I found that I can do the task in 2 ways:---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. by using class cl_http_client,&lt;/P&gt;&lt;P&gt;2. by using program RSHTTP20 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the correct information I got.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of the 2 methods, which method can I prefer and what are d pros and cons of the above methods?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shivaa...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 13:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633134#M1282462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T13:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calling HTTP from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633135#M1282463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shiva ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the function module HTMLCNTL_SHOW_URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 05:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633135#M1282463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T05:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calling HTTP from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633136#M1282464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go with cl_http_client, this provides much more control that the HTTP_GET functions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 11:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633136#M1282464</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2009-07-28T11:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calling HTTP from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633137#M1282465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem to pass a file.txt in a parameter of a web service.&lt;/P&gt;&lt;P&gt;Iam using CL_HTTP_CLIENT and I am passing the parameters (user, password and file):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; clear wa_form.&lt;/P&gt;&lt;P&gt; wa_form-name = 'user'.&lt;/P&gt;&lt;P&gt; wa_form-value = '33333333333'.&lt;/P&gt;&lt;P&gt; append wa_form to it_form.&lt;/P&gt;&lt;P&gt; clear wa_form.&lt;/P&gt;&lt;P&gt; wa_form-name = 'password'.&lt;/P&gt;&lt;P&gt; wa_form-value = '11111111'.&lt;/P&gt;&lt;P&gt; append wa_form to it_form.&lt;/P&gt;&lt;P&gt; clear wa_form.&lt;/P&gt;&lt;P&gt; wa_form-name = 'file'.&lt;/P&gt;&lt;P&gt; wa_form-value = data. ---&amp;gt; "data" is a type string with the data of the file.txt.&lt;/P&gt;&lt;P&gt; append wa_form to it_form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  r_client-&amp;gt;request-&amp;gt;set_form_fields( fields = it_form ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not problem with the user and password parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 13:28:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633137#M1282465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T13:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calling HTTP from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633138#M1282466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to upload the file and pass the files content to that string&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 13:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-http-from-abap/m-p/5633138#M1282466</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2009-07-28T13:55:35Z</dc:date>
    </item>
  </channel>
</rss>

