Authentication
Dothttp supports basic, digest and certificate auth inherently
For certificate auth docs visit this
Redefining authentication for each request is burden, with dothttp one can extend auth information from base request. check out more information on this here
#
Basic AuthenticationBasic authentication is nothing but setting header
Authorization: <username:password with base64 encoded>
dothttp provides simple way to set basic authentication
Syntax:
basicauth(<username>, <password>)
#
Example:#
Digest AuthenticationDigest authentication is one of most used authentication mechanisms.
Syntax:
digestauth(<username>, <password>)
#
AWS Signature v4 AuthenticationAws signature v4 authentication is used for interacting with amazonaws apis
Syntax:
awsauth(<accessId>, <secretKey>, <service>, <region>)
#
NTLM AuthenticationWindows NT LAN Manager (NTLM) is a challenge-response authentication protocol used to authenticate a client to a resource on an Active Directory domain.
Syntax:
ntlmauth(<username>, <password>)