POST request has empty payload

I have published my server process on port X. when accessing via GET request all goes well. when trying to login using POST request my debugging shows that the payload is empty. how to fix?

I don’t think this is the right forum for general coding questions… Stack overflow might be better suited for this…

But you would need to check how the API is expecting the data and ensure you frontend is sending the data in the correct format

this is not a general question. that symptom is idx specific. my app is working perfectly for years now. but when publishing the url to access the web app, the idx proxy seems to eat the POST requests payload.

to be more detailed: checkout git, run docker compose up. then to access the web I published the url and opened it in chrome. then trying to login, but that fails with described symptom.

Oh my bad I didn’t realize it was specific to idx… Apologies… I think there was some ongoing forum related to post requests in idx… Let me see if I can find it

now used a CURL request from inside the IDX Terminal to send a POST request to the https port of the docker container along with cookies and payload. it is confirmed working. so it must be the idx proxy eating our payload