POST request turned into GET requests

I have a simple NodeJS server that has two POST routes. When I make POST requests from Postman, I see in the logs that the requests come through as GET requests to my deployed Fly application. However, the same requests work fine when running my app locally.

I’m new to Fly and I’m hoping I’m just missing something simple, any help would be appreciated.

Hey! It’s hard to tell what could be happening without seeing the code or setup, what does your dockerfile and fly.toml file look like?

I’m currently having the same issue. Did you manage to solve it eventually?

That’s very weird.

If you can reproduce the issue reliably, can you try with this header: flyio-debug: doit and respond here with the fly-request-id header. We can then look up a trace and possibly figure out what’s happening.

2 Likes