[OpenSIPS-Users] REST Client

Alexander Perkins alexanderhenryperkins at gmail.com
Tue Jun 22 17:17:39 EST 2021


Thank you so much for the help!

On Tue, Jun 22, 2021 at 8:47 AM Liviu Chircu <liviu at opensips.org> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210622/226abe49/attachment.html>


More information about the Users mailing list