Error messages (in this case 404) produce invalid JSON:
Currently:
{'error': 'Endpoint not found. Please consult Endpoint's documentation for more information.'}
It should be like this (double quotes is standard in JSON, and since a single quite is used in the message, it also fails to find the string with single quotes)
{
"error": "Endpoint not found. Please consult Endpoint's documentation for more information."
}
Error messages (in this case 404) produce invalid JSON: Currently:
It should be like this (double quotes is standard in JSON, and since a single quite is used in the message, it also fails to find the string with single quotes)