Authorization inserter
Last updated
Last updated
[io/http/utils/Authorization inserter]
Inserts an Authorization header into a HTTP request header.
headers: {string: string}
Recieves request headers. It is used to describe a resource, or the behavior of the server or the client. Example: { "content-type": "application/json; charset=utf-8" }
authorization: string
headers: {string: string}
Sends the received request headers with the authorization header added to it. Example: { "content-type": "application/json", "Authorization": "Bearer SomeDummyToken" }