POST result: 404

Thomas Ward teward at thomas-ward.net
Thu Apr 30 19:47:32 UTC 2020


On 4/30/20 3:20 PM, MarcoI wrote:
> Hi Thomas,
> thank you for your kind help.
>
> ...
>
> How can I check if the backend has the capacity to handle the requested
> path?

This is where you need to expand the knowledge into other tools such as
`curl`.  On the system where nginx and your webapp run execute this:

    curl -X POST http://127.0.0.1:8080/puser/add

... if this 404s then you know that the issue is that your backend
application written in Go doesn't accept this as a POST-able path.

> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287914,287917#msg-287917
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20200430/00979209/attachment.htm>


More information about the nginx mailing list