All my express endpoints are getting redirected to GET requests on app platform
I have an express project which I deployed to app platform and it currently has 2 endpoints - GET /trades and POST /trades.
Locally they both hit their respective handler code but when deployed to app platform i’m seeing that my POST request is getting redirected from a POST to a GET request.
Is this expected and is there a way to not have app platform do this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×