<?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: HTTP 500 Connection broken while making HTTP request in ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-500-connection-broken-while-making-http-request-in-abap/m-p/700729#M31879</link>
    <description>&lt;P&gt;This issue is now resolved.&lt;/P&gt;&lt;P&gt;The issue is with the API headers; header in the API used for sending Access token is a custom header ('access_token: &amp;lt;Token value&amp;gt;') which caused few security patterns to fail according to API Gatway (Mulesoft) policies.&lt;/P&gt;&lt;P&gt;When API team changed it to header 'Authorization: Bearer &amp;lt;Token value&amp;gt;', It worked fine.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Oct 2018 15:20:44 GMT</pubDate>
    <dc:creator>sucheno</dc:creator>
    <dc:date>2018-10-22T15:20:44Z</dc:date>
    <item>
      <title>HTTP 500 Connection broken while making HTTP request in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-500-connection-broken-while-making-http-request-in-abap/m-p/700727#M31877</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;We are trying to make a HTTP call from ABAP using cl_http_client.&lt;/P&gt;
  &lt;P&gt;We are able to get the response JSON from a test API with status code 200 when we are passing client id and client secret values in GET request headers.&lt;/P&gt;
  &lt;P&gt;But, when we are passing access token in GET request headers which is obtained by OAuth token server which is mandatory for the original API, we are not receiving the response and program is returning Communication failure exception with HTTP Status 500 - connection broken.&lt;/P&gt;
  &lt;P&gt;API team confirmed that they are able to successfully get request from SAP and API is sending the correct response JSON with HTTP status 200 from their end.&lt;/P&gt;
  &lt;P&gt;We are not able to understand how to crack the issue with our connection.&lt;/P&gt;
  &lt;P&gt;Could you help us here? &lt;/P&gt;
  &lt;P&gt;Our requirement is to consume the REST APIs with OAuth authentication in SAP BW/HANA.&lt;/P&gt;
  &lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 17:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-500-connection-broken-while-making-http-request-in-abap/m-p/700727#M31877</guid>
      <dc:creator>sucheno</dc:creator>
      <dc:date>2018-10-17T17:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 500 Connection broken while making HTTP request in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-500-connection-broken-while-making-http-request-in-abap/m-p/700728#M31878</link>
      <description>&lt;P&gt;So I searched on your requirement:&lt;/P&gt;&lt;P&gt;REST APIs with OAuth authentication in SAP BW/HANA.&lt;/P&gt;&lt;P&gt;I'm assuming you are on HANA.  &lt;A href="https://blogs.sap.com/2015/02/25/oauth2-authentication-using-hana-xs-basics-1/"&gt;This blog has&lt;/A&gt; a lot of detail, and it is a series.  If you can't find anything come back here and give your system, and a screen shot of what you are looking at that causes the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 12:05:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-500-connection-broken-while-making-http-request-in-abap/m-p/700728#M31878</guid>
      <dc:creator>mmcisme1</dc:creator>
      <dc:date>2018-10-18T12:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 500 Connection broken while making HTTP request in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-500-connection-broken-while-making-http-request-in-abap/m-p/700729#M31879</link>
      <description>&lt;P&gt;This issue is now resolved.&lt;/P&gt;&lt;P&gt;The issue is with the API headers; header in the API used for sending Access token is a custom header ('access_token: &amp;lt;Token value&amp;gt;') which caused few security patterns to fail according to API Gatway (Mulesoft) policies.&lt;/P&gt;&lt;P&gt;When API team changed it to header 'Authorization: Bearer &amp;lt;Token value&amp;gt;', It worked fine.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 15:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-500-connection-broken-while-making-http-request-in-abap/m-p/700729#M31879</guid>
      <dc:creator>sucheno</dc:creator>
      <dc:date>2018-10-22T15:20:44Z</dc:date>
    </item>
  </channel>
</rss>

