Hello,
On 26.05.23 11:57, BenoƮt Panizzon wrote:
Hi
The http_client module support the somehow old fashioned way to submit credentials as part of the URL.
Our 'held' server developer would love to use either JWT or a Bearer Token in the Auth-Header or a 'cookie-jar' to authenticate the requests.
Is this somehow possible?
http_client_query() has a parameter to set additional headers, which accepts variables. Therefore you can set there your own Auth-Header.
Cheers, Daniel