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 -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - June 5-7, 2023 - www.kamailioworld.com __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
