The missing trailing slash that turned POST requests into GET redirects
by•
Updated our API gateway routes to clean up legacy endpoints.
Forgot a trailing slash on the internal target URL for a form submission endpoint.
The gateway responded with an automatic HTTP 301 redirect which by default strips out the POST payload and converts the redirected request into a empty GET. Forms were submitting with zero payload data, throwing silent success codes and leaving empty database entries all afternoon.
1 view
p/murror
p/runevr
p/google-cloud-platform
p/producthunt
p/kodlo
p/chickytutor
p/pagecloud
p/statefold-2
p/expert-chase-deleted-1107920
p/findergit
p/talanoa-2
p/fable-fiesta
p/reso
p/screencursor
p/touchdeck
p/teaserkit
p/contentin
p/lancetta
p/many-displays
p/inquir
Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.