<?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: Make OAuth2 calls from ABAP to Autodesk Forge in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-oauth2-calls-from-abap-to-autodesk-forge/m-p/660677#M28742</link>
    <description>&lt;P&gt;First you need to retrieve a IF_HTTP_CLIENT-Instance with the factory-methods in the class CL_HTTP_CLIENT. &lt;/P&gt;&lt;P&gt;With this instance you create an instance of class CL_REST_HTTP_CLIENT and set the request-body in method  IF_REST_RESOURCE~POST&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 09:44:54 GMT</pubDate>
    <dc:creator>johannes_gerbershagen11</dc:creator>
    <dc:date>2019-12-18T09:44:54Z</dc:date>
    <item>
      <title>Make OAuth2 calls from ABAP to Autodesk Forge</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-oauth2-calls-from-abap-to-autodesk-forge/m-p/660676#M28741</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
  &lt;P&gt;I am new to the OAuth2 and Autodesk Forge API.&lt;/P&gt;
  &lt;P&gt;I am starting to learn about how to integrate both, for now I am stuck on how to make an http post from ABAP code to the authentication endpoint of the Forge API to get the access token. I started looking at this link &lt;A href="https://wiki.scn.sap.com/wiki/display/Security/OAuth+2.0+-+Integrating+access+protected+web+services+using+the+OAuth+2.0+Client" target="test_blank"&gt;https://wiki.scn.sap.com/wiki/display/Security/OAuth+2.0+-+Integrating+access+protected+web+services+using+the+OAuth+2.0+Client&lt;/A&gt; but I can't get the whole picture if that's what I really need.&lt;/P&gt;
  &lt;P&gt;Specifically I need help on how can I do the equivalent of the following call using curl (as it come in this link &lt;A href="https://developer.autodesk.com/en/docs/oauth/v2/tutorials/get-2-legged-token/):" target="test_blank"&gt;https://developer.autodesk.com/en/docs/oauth/v2/tutorials/get-2-legged-token/):&lt;/A&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;curl -v 'https://developer.api.autodesk.com/authentication/v1/authenticate'
  -X 'POST'
  -H 'Content-Type: application/x-www-form-urlencoded'
  -d '
    client_id=obQDn8P0GanGFQha4ngKKVWcxwyvFAGE&amp;amp;
    client_secret=eUruM8HRyc7BAQ1e&amp;amp;
    grant_type=client_credentials&amp;amp;
    scope=data:read&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Spaces in the call are put for readability purpose.&lt;/P&gt;
  &lt;P&gt;Any help or insights are appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Mar 2018 13:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-oauth2-calls-from-abap-to-autodesk-forge/m-p/660676#M28741</guid>
      <dc:creator>yasser_aoujil</dc:creator>
      <dc:date>2018-03-06T13:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Make OAuth2 calls from ABAP to Autodesk Forge</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-oauth2-calls-from-abap-to-autodesk-forge/m-p/660677#M28742</link>
      <description>&lt;P&gt;First you need to retrieve a IF_HTTP_CLIENT-Instance with the factory-methods in the class CL_HTTP_CLIENT. &lt;/P&gt;&lt;P&gt;With this instance you create an instance of class CL_REST_HTTP_CLIENT and set the request-body in method  IF_REST_RESOURCE~POST&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 09:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-oauth2-calls-from-abap-to-autodesk-forge/m-p/660677#M28742</guid>
      <dc:creator>johannes_gerbershagen11</dc:creator>
      <dc:date>2019-12-18T09:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Make OAuth2 calls from ABAP to Autodesk Forge</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-oauth2-calls-from-abap-to-autodesk-forge/m-p/660678#M28743</link>
      <description>&lt;P&gt;EDIT:  &lt;SPAN class="mention-scrubbed"&gt;johannes_gerbershagen11&lt;/SPAN&gt; it is year old question...&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 09:53:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-oauth2-calls-from-abap-to-autodesk-forge/m-p/660678#M28743</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2019-12-18T09:53:05Z</dc:date>
    </item>
  </channel>
</rss>

