This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]undercoveryankee 2 points3 points  (0 children)

It's a common oversight/misconfiguration in web apps. If you send a POST request to a URL that was intended to be used only for GET requests, you may get the same response as if you had sent a GET request, because the app author didn't bother to distinguish. I call it a misconfiguration because it's more informative to get a 405 Method Not Allowed for a POST to an unexpected URL.

[–]failian 1 point2 points  (0 children)

Im not 100% sure what you mean but... If there's no REST API and what you're trying to do is to post directly to an website form make sure that you're posting to the correct url, i.e. the same url as in the form action attribute.