Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
vish21446yYes, the developer wants to upgrade your API by bumping up the version number. I say, you should allow that POST call immediately.
-
devTea219176yIf he can’t even understand method not allowed error then he should stay away from your API
-
it's the JSON generation (of people)
everything's a POST, the actual info about what you're trying to do is in a JSON string in its body.
the url is just a pipe where you stuff all of it into. -
@gitpush
it's because the 405 wasn't returned in a response in an ErrCode property of a json stringobject, but actual http code.
i betcha if it were the former, he would try to google it and would maybe even find out what's it supposed to mean. -
@Midnigh-shcode why wouldn't it show the correct error code in http status code, I don't understand why devs return that code in response body instead of the correct place ....
Related Rants
"there's a problem with your API"
Me: "why?"
"I get no data"
Me: "what response code are you getting?"
"405 - Method not allowed. But only on the /version endpoint"
Me: "Soo... What request are you sending?"
"POST"
WHY THE FUCK WOULD YOU SEND A POST REQUEST TO AN ENDPOINT THAT **GETS** THE VERSION OF MY API???!!!!
Me: "Read the documentation. It's there for a reason"
rant
method not allowed
api
idiots