I tried to curl POST the entire form:
(base) marco@pc01:/var/log/nginx$ curl -X POST -F 'first_name=pinco' -F
'last_name=pallo' -F 'company_name=Company' -F
'email=pinco.pa...@company.com' -F 'tel=1'
http://127.0.0.1:8080/puser/add
Error
Cannot POST /puser/add
Posted at Nginx For
It doesn't produce a "404" but it is saying "Cannot POST" ...:
curl -X POST http://127.0.0.1:8080/puser/add
Error
Cannot POST /puser/add
These are the corresponding lines in /var/log/nginx :
128.14.134.170 - - [01/May/2020:10:04:03 +0200] "GET / HTTP/1.1" 502 584 "-"
"Mozilla/5.0 (Win