httpBasicAuthHeader
Syntax | httpBasicAuthHeader(username, password) | Package | http |
Alias |
| Pkg Usage | basicAuth(username, password) |
Description
Creates an HttpHeader object to be used as Authorization header for a Basic authentication of a user.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
username | String | Yes | The username. |
password | String | Yes | The password. |
Return Type
Example
HttpHeader authHeader = httpBasicAuthHeader("admin", "admin");See also
Peacock
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.
