When invoking the API's /lint request endpoint, I seem to be always getting a 400 error saying:
"Missing parameter: code"
This is despite providing the "code" or "c" as a parameter in a json body to the url as POST or GET request to: http://api.jslinterrors.com/lint and providing "application/json" as the "Content-type" in the header.
When invoking the API's /lint request endpoint, I seem to be always getting a 400 error saying: "Missing parameter: code"
This is despite providing the "code" or "c" as a parameter in a json body to the url as POST or GET request to: http://api.jslinterrors.com/lint and providing "application/json" as the "Content-type" in the header.
{ "c": "var b = 1;" }
OR
{ "code": "var b = 1;" }