Skip to main content

rest.useAuth

rest.useAuth(name)

Description

Uses the credentials with this name from the credential store for all subsequent requests.

Parameters

ParameterTypeExplanation
nameStringThe name of the credentials in the cretential store

Example

http = option.rest

http.useAuth("1gtw_creds")