Skip to main content

http.basic

http.basic(user, pw)

Description

Sets the username and password for basic authentication.

Parameters

ParameterTypeExplanation
userStringThe username for basic authentication
pwStringThe password for basic authentication

Example

http = option.http

http.basic("admin","admin")