POST APIs are not working after deploying to our domain/server


All POST APIs are working fine in a local machine while we are developing the application. Once deployed to the server POST APIs are not working, but other APIs are working fine.
Screenshot 2022-04-08 at 2 33 52 PM

I am getting the below response

{"id":"api.context.session_expired.app_error","message":"Invalid or expired session, please login again.","detailed_error":"","request_id":"xao73nqj6b8h9pxxxxxxxxxxxxxx","status_code":401}

Steps to reproduce

Use any POST APIs on the server

Expected behavior

POST APIs should also work fine on the server

Observed behavior (that appears unintentional)

POSt APIs are not working after deploying to the server

Possible fixes


Please help in fixing this issue on server

1 Like