HTTP Connections Not Allowed
Always use HTTPS
Summary
All requests to the API must be sent over a secure HTTPS connection. However, if a request is sent over HTTP you will receive an error message:
curl http://api.youmanage.co.uk/status
{
"Error": {
"Code": "YM0001",
"Reference": "https://developer.youmanage.co.uk/api/errors/ym0001",
"Target": null,
"Message": "Http connections are not allowed, repeat the request using Https",
"Details": null
}
}
Solution
Reissue the same request using HTTPS instead of HTTP, as in the following example:
curl https://api.youmanage.co.uk/status
{
"status": "Awesome"
}