Quick Start
Login
Make your first request
curl --request POST \
--url http://api.shipitor.com/auth/login \
--header 'Content-Type: application/json' \
--data '{
"email": "[email protected]"
}'var axios = require("axios").default;
var options = {
method: 'POST',
url: 'http://api.shipitor.com/auth/login',
headers: {'Content-Type': 'application/json'},
data: {email: '[email protected]'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});import requests
url = "http://api.shipitor.com/auth/login"
payload = {"email": "[email protected]"}
headers = {
"Content-Type": "application/json"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)Last updated