Params
{
"email": "[email protected]",
"password": "test"
}
Response
{
"email": "[email protected]",
"password": "$2a$12$.M2mCK3zwvq/v8CUY8BdpuxePCqJF8mWotKUePDNMfKvMxbUY78O6",
"id": 14
}
Params
{
"email": "[email protected]",
"password": "test"
}
Response
{
"id": 14,
"email": "[email protected]",
"password": "$2a$12$.M2mCK3zwvq/v8CUY8BdpuxePCqJF8mWotKUePDNMfKvMxbUY78O6",
"created_at": "2020-02-13 01:27:47",
"updated_at": "2020-02-13 01:27:47",
"token": null,
"zip": null,
"isAdmin": null
}
Authorization: "Bearer + token"
Example:
Authorization: "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImVtYWlsIjoidGVzdEB0ZXN0LmNvbSIsImlkIjoxfSwiaWF0IjoxNTgxNTYzMzc1LCJpc3MiOiJib2F0ZXItbWVzaCIsInN1YiI6IjEifQ.TNTAK0XCAv-XVXJI0b6J9DBOygv000VO7P84wKn5Wng"
[
{
"siteName": "LINVILLE RIVER NEAR NEBO, NC",
"siteCode": "02138500",
"geoLocation": {
"latitude": 35.79555556,
"longitude": -81.8911111
}
},
{
"siteName": "MIDDLE SALUDA RIVER NEAR CLEVELAND, SC",
"siteCode": "02162350",
"geoLocation": {
"latitude": 35.1201172,
"longitude": -82.537623
}
},
...
]