Migrated from Redmine #615 | Author: Joe Thelwell
Status: Feedback | Priority: Normal | Created: 2020-11-26
I can’t get a successful authentication response using the REST API as below:
POST https://user-api.nhsbookings.com/admin/auth
Headers added:
Content-Type: application/json
Request body:
{“company":“clone”,“login”:"joe.thelwell@nhs.net”,“password”:“MyPasswordIsPutInHere”}
Response
{
“error”: {
“code”: -32600,
“message”: “Invalid request”,
“data”:
},
“id”: null
}
Why is this failing?