To authenticate your API calls, you need to supply basic credentials. Your credentials are the base64 encoding of your username and password.
You can generate encoded credentials in a number of ways, including this shell echo command:
echo -n '<username>:<password>' | openssl base64
This command returns your encoded credentials, which you can supply in all future API calls.
To authenticate your API requests to the server, you include the encoded credentials in an
Authorization: BasicCreds header. Replace
<your-credentials> in the example below with your encoded credentials, as generated above.
curl -X <method> --header 'Authorization: BasicCreds <your-credentials>'