How to pass custom HTTP header in Connect-REST
Hi All,
How can we pass custom HTTP header in Connect-REST request ? could you please help us in this regards issue ?
Example : i need to pass custom header CustomID in request header below
"request_headers": { "singularityheader": "appId=24317*ctrlguid=1597251625*acctguid=497dba83-2de2-46ca-8106-b56e4214096c*ts=1597345099796*btid=1591793*guid=7f70a3e8-ef85-4255-9351-14c0d51eb0a7*exitguid=15*unresolvedexitid=35938520*cidfrom=386299*etypeorder=HTTP*esubtype=HTTP*cidto=A26897", "user-agent": "Apache-HttpClient/4.5.2 (Java/1.8.0_151)", "accept-encoding": "gzip,deflate", "host": "pizza-proxy-xyz-onprem.apps.ent-ocp-np1-har.antmdc.internal.das", "x-forwarded-host": "pizza-proxy-xyz-onprem.apps.ent-ocp-np1-har.antmdc.internal.das", "x-forwarded-port": "443", "x-forwarded-proto": "https", "forwarded": "for= Proprietary information hidden;host=pizza-proxy-xyz-onprem.apps.ent-ocp-np1-har.antmdc.internal.das;proto=https;proto-version=", "x-forwarded-for": " Proprietary information hidden"
CustomID:1234 },
Hi All,
How can we pass custom HTTP header in Connect-REST request ? could you please help us in this regards issue ?
Example : i need to pass custom header CustomID in request header below
"request_headers": { "singularityheader": "appId=24317*ctrlguid=1597251625*acctguid=497dba83-2de2-46ca-8106-b56e4214096c*ts=1597345099796*btid=1591793*guid=7f70a3e8-ef85-4255-9351-14c0d51eb0a7*exitguid=15*unresolvedexitid=35938520*cidfrom=386299*etypeorder=HTTP*esubtype=HTTP*cidto=A26897", "user-agent": "Apache-HttpClient/4.5.2 (Java/1.8.0_151)", "accept-encoding": "gzip,deflate", "host": "pizza-proxy-xyz-onprem.apps.ent-ocp-np1-har.antmdc.internal.das", "x-forwarded-host": "pizza-proxy-xyz-onprem.apps.ent-ocp-np1-har.antmdc.internal.das", "x-forwarded-port": "443", "x-forwarded-proto": "https", "forwarded": "for= Proprietary information hidden;host=pizza-proxy-xyz-onprem.apps.ent-ocp-np1-har.antmdc.internal.das;proto=https;proto-version=", "x-forwarded-for": " Proprietary information hidden"
CustomID:1234 },
we do have another thread for SOAP (https://collaborate.pega.com/question/how-pass-http-header-connect-soap) but i'm looking for REST
***Edited by Moderator Marissa to update General to Product***