<p>Follow-up of a discussion started with <a href="https://github.com/jarrodb" class="user-mention">@jarrodb</a> on IRC. In short, there are quite a lot of usage scenarios where additional HTTP headers need to be inserted into the request as well. So, the usage flow could be:</p>
<pre><code>rest_append_hf("Authorization: Bearer mF_9.B5f-4.1JqM");
...
rest_get(...)
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/496">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciXNk4tr2TUrVvypjPypLJLLU1zHQks5oF0FmgaJpZM4EPNyH.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/496"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>