Authorization and Authentication
Basic Authentication is supported, but Bearer authentication is recommended....If you are using Basic authentication there are additional steps required....Basic Authentication requires:
A username and a password....The concatenated string of username and password must be base 64 encoded....Below is the base 65 encoded string for api:sp2r7s6zvq2pkvgwosgu92xuw-us-1
YXBpOnNwMnI3czZ6dnEycGt2Z3dvc2d1OTJ4dXctdXMtMQ==
The Authorization header for basic authentication would then look as follows:
In the examples below the username and password are base 64 encoded automatically when using curl.
Basic Integration Pattern
We recommend supporting either basic authentication using an Authorization header or Bearer authorization.
DailyStory supports both basic authentication and bearer authentication.