<div dir="ltr">Thank you so much for the help!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 22, 2021 at 8:47 AM Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 15.06.2021 20:30, Alexander Perkins wrote:<br>
> Where should we include the x-api-key header with using rest_client.<br>
<br>
I would suggest looking into the rest_append_hf() function [1], which <br>
can be used to append as many HTTP headers to a request as you need.<br>
<br>
[1]: <br>
<a href="https://opensips.org/docs/modules/3.2.x/rest_client.html#func_rest_append_hf" rel="noreferrer" target="_blank">https://opensips.org/docs/modules/3.2.x/rest_client.html#func_rest_append_hf</a><br>
<br>
Best,<br>
<br>
-- <br>
Liviu Chircu<br>
<a href="http://www.twitter.com/liviuchircu" rel="noreferrer" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">www.opensips-solutions.com</a><br>
OpenSIPS Summit 2021 Distributed | <a href="http://www.opensips.org/events" rel="noreferrer" target="_blank">www.opensips.org/events</a><br>
<br>
</blockquote></div>