I am just getting started in testing with POSTMAN. I am having a response when I choose GET request, but when I change it to POST, I get a 404 not found error, even with or without header and body.
Am I missing something? I appreciate any help, please.
if your endpoint is to get a request , it will only get a response in body x, y ,z.
If you change that endpoint to POST it will not work.
you need the POST endpoint and request to work. Generally, 404 error, when your request is bad. for eg missing something in the request or parameters in headers. hope this helps!
@noussalicious There could be a possibility in which .htaccess is set to either redirect or block a POST, which would not catch and block or route a GET. If you can navigate to the page (which you say you can), but a POST never gets there then something is blocking it and the only thing in the way is the web server platform that you’re using.
@kamalshree2784 I have a similar issue using nginx. I have an API which supports only post methods. I can see the requests on my src logs, but I don’t get a response in nginx.