Closed jimaek closed 7 years ago
If the API key is wrong the API responds with error.
Show a message "The API token was declined. Please correct it or don't send a token at all to use the free plan"
It would be nice to get a 401 Unauthorized HTTP status for bad API keys instead of the generic 400 Bad Request.
401 Unauthorized
400 Bad Request
Which it already does but I returned a hardcoded 400 for some reason...
If the API key is wrong the API responds with error.
Show a message "The API token was declined. Please correct it or don't send a token at all to use the free plan"