Authorization

This API let you obtain authorization token to be used in all other APIs.

Authorization Token

GET https://{domain_name}/api_smsc/v1/auth

This username and password you use here is the same as the login user/password on the portal.

Query Parameters

Name
Type
Description

user_name

string

The API will do its best to find a cake matching the provided recipe.

password

string

Whether the cake should be gluten-free or not.

Headers

Name
Type
Description

Authentication

string

Authentication token to track down who is emptying our stocks.

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}
curl -X POST "https://<your domain>/api_smsc/v1/auth" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"password\": \"xxxxx\", \"user_name\": \"xxxxxxxxx\"}"

Last updated

Was this helpful?