[OpenSIPS-Users] REST Client

Liviu Chircu liviu at opensips.org
Tue Jun 22 12:47:43 EST 2021


On 15.06.2021 20:30, Alexander Perkins wrote:
> Where should we include the x-api-key header with using rest_client.

I would suggest looking into the rest_append_hf() function [1], which 
can be used to append as many HTTP headers to a request as you need.

[1]: 
https://opensips.org/docs/modules/3.2.x/rest_client.html#func_rest_append_hf

Best,

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS Summit 2021 Distributed | www.opensips.org/events




More information about the Users mailing list