Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2720

Re: ABAP CL_HTTP_CLIENT REST JSON issue

$
0
0

For each of my method calls, I am calling the refresh_request method right before I set my new API method URL and call SEND -- I was hoping it would work that way.

 

Unfortunately, even after I figure out the cause for the server error, the REST service I am trying to call requires me to place the session token returned from their login method into the HTML Authentication header under "Basic", but it appears SAP wants to keep the fields used by their authentication method separate, USERNAME and PASSWORD, and I don't see a way to edit the RAW HTML before I call the SEND method.

 

Might you happen to know how to set or edit the raw HTML prior to calling SEND?

 

Should I instead try using HTTP_POST or some other HTTP FM that might allow me to specifically control the HTML header content?


Viewing all articles
Browse latest Browse all 2720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>