tencent cloud

BasicAuth
Last updated: 2025-03-10 17:04:45
BasicAuth
Last updated: 2025-03-10 17:04:45
BasicAuth is the basicAuth configuration in the configuration parameter HTTP.

Field

Field
Type
Description
username
string
Username
password
string
Password

Samples

Use BasicAuth:
export const option = {
http: {
basicAuth: {
username: 'username',
password: 'password',
}
}
}

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback