Basic authorization inserter
Last updated
Last updated
[io/http/utils/Basic authorization inserter]
Inserts an Basic Authorization header into a HTTP request header.
Example: ``` 1. { "content-type": "application/json; charset=utf-8" }` set to "headers" 2. "John01"@0 received via `user id` 3. "P@ssw0rd"@0 received via `password` 4. { "content-type": "application/json", "Authorization": "Basic "Zm9v" }@0 sent via `headers` ```
Keywords: http, authentication, authorization
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" } ```
user id: string
Recieves user id. Example:
password: string
Recieves user password. Example:
headers: {string: string}
Sends the received request headers with the authorization header added to it.
Example: ``` { "content-type": "application/json", "Authorization": "Basic "Zm9v" } ```