Authentication
The Connect API allows REST clients to authenticate themselves with a user name and password using Basic Authentication.
Most client software provides a simple mechanism for supplying a username and password which will build the required authentication headers automatically.
If needed, you may construct and send basic auth headers yourself. To do this you need to perform the following steps:
- Build a string of the form
username:password
Base64 encode the string - Supply an
Authorization
header with contentBasic
followed by the encoded string. For example, the stringAladdin:OpenSesame
encodes toQWxhZGRpbjpPcGVuU2VzYW1l
in base64.
Updated about 4 years ago
What’s Next