Home > Back-end >  Sever returning 400 when body passed with GET
Sever returning 400 when body passed with GET

Time:08-20

I have an Express GET route to fetch all users. Whenever a req.body is present, the server is always responding with 400.

Obviously, I have body-parser and this behaviour is only experienced in the production k8s environment (working fine in localhost)

Is there any limitation to send req.body to GET routes? enter image description here

  • Related