Authorization inserter

[io/http/utils/Authorization inserter]

Inserts an Authorization header into a HTTP request header.

Input ports

  • 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

Output ports

  • headers: {string: string}

    Sends the received request headers with the authorization header added to it. Example: { "content-type": "application/json", "Authorization": "Bearer SomeDummyToken" }

Last updated