Search found 3 matches

by moha777
Sat Sep 07, 2024 4:22 pm
Forum: HTTPAPI
Topic: How to clear addn header values
Replies: 6
Views: 45501

Re: How to clear addn header values

Please refer to the code snippet: http_xproc( HTTP_POINT_ADDL_HEADER: *NULL); http_xproc( HTTP_POINT_ADDL_HEADER : %paddr('ADDHDR')); http_setCCSIDs( 1208: 0 ); rtn = http_url_get_raw(Url : fd : %paddr(‘PROCESSDATA’)); if rtn <> 1; msg = http_error; if rc = -1 Or msg = 'This page requires a user-id ...
by moha777
Thu Sep 05, 2024 10:35 pm
Forum: HTTPAPI
Topic: How to clear addn header values
Replies: 6
Views: 45501

Re: How to clear addn header values

Thank you for the response, i am still getting error in below case. Call the first service endpoint using bearer token auth type, when it fails due to token expiry call second service to generate token using basic auth. Third time retry calling the first service using new bearer token retrieved, it ...
by moha777
Thu Aug 08, 2024 10:29 pm
Forum: HTTPAPI
Topic: How to clear addn header values
Replies: 6
Views: 45501

How to clear addn header values

Hi Scott, I am calling multiple httpapi post request with additional headers, the first request works fine but the subsequent request results in 400 bad request and could see the header holds the previous header values on the log. I am using http_xproc(http_point_addl_header: *NULL) to clear the hea...