tencent cloud

BasicAuth
Last updated:2025-03-11 19:41:08
BasicAuth
Last updated: 2025-03-11 19:41:08
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