You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Which will return the average response time.</p>
303
304
305
+
<aclass="anchor" id="Authorization-headers" />
306
+
<aclass="header" href="#Authorization-headers">
307
+
<h4>
308
+
2.3 Authorization headers
309
+
</h4>
310
+
</a>
311
+
312
+
<p>If you have an Authorization scheme implemented (for example <ahref="https://api.rubyonrails.org/classes/ActionController/HttpAuthentication/Token.html">authenticate_or_request_with_http_token</a> in rails) you can supply the <codeclass="highlighter-rouge">Authorization</code> http header value with the <codeclass="highlighter-rouge">AUTHORIZATION_HEADER</code> environment variable:</p>
<p>This also will work for <codeclass="highlighter-rouge">Basic</code> (<ahref="https://api.rubyonrails.org/classes/ActionController/HttpAuthentication/Basic.html$$">request_http_basic_authentication</a>) and <codeclass="highlighter-rouge">Bearer</code> values</p>
{% include h.html tag="h4" text="2.3 Authorization headers" a="Authorization-headers" %}
207
+
208
+
If you have an Authorization scheme implemented (for example [authenticate_or_request_with_http_token](https://api.rubyonrails.org/classes/ActionController/HttpAuthentication/Token.html) in rails) you can supply the `Authorization` http header value with the `AUTHORIZATION_HEADER` environment variable:
This also will work for `Basic` ([request_http_basic_authentication](https://api.rubyonrails.org/classes/ActionController/HttpAuthentication/Basic.html$$)) and `Bearer` values
216
+
205
217
{% include h.html tag="h2" text="3 Tips" a="tips" %}
206
218
207
219
When debugging an application, try to isolate the individual Resource
0 commit comments