Hi!
i have a simple angular app delivered via netlify. At some point it redirects the user to a third-party payment provider and after successful payment, the user is redirected by the third-party provider back to the angular app. This redirect happens as a POST request.
But: My browser informs me, that netlifys response to this post request is a HTTP Status Code: 404
This page is showing:
Page Not Found
Looks like you've followed a broken link or entered a URL that doesn't exist on this site.
Back to our site
On netlify, all incoming requests are mapped to /index.html 200:
/* /index.html 200
I use the angular router. All normal GET requests are routed fine. The route for the POST request is /success (which, as a GET request, is handled normally by the router)
What can I do to stop netlify answering with 404 and instead make it redirect POST requests just like any other GET request?
kind regards!