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 ...
Search found 3 matches
- Sat Sep 07, 2024 4:22 pm
- Forum: HTTPAPI
- Topic: How to clear addn header values
- Replies: 6
- Views: 46361
- Thu Sep 05, 2024 10:35 pm
- Forum: HTTPAPI
- Topic: How to clear addn header values
- Replies: 6
- Views: 46361
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 ...
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 ...
- Thu Aug 08, 2024 10:29 pm
- Forum: HTTPAPI
- Topic: How to clear addn header values
- Replies: 6
- Views: 46361
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 ...
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 ...