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
Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.