Working with a "REST" API today the error response was
{errorCode:1, error:"Error message"}
For the people who haven't had coffee yet, the quotes for errorCode and error are missing so it isn't a proper JSON. I think it actually took some effort to make it like this instead of proper JSON.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Working with a "REST" API today the error response was
{errorCode:1, error:"Error message"}For the people who haven't had coffee yet, the quotes for
errorCodeanderrorare missing so it isn't a proper JSON. I think it actually took some effort to make it like this instead of proper JSON.