Search code examples
requestpostmanput

What is the difference between Params and Body in Postman


In postman, what is the difference between the Params and the Body tabs?. I noticed that when I was trying to perform a PUT request, if I add the key and value in Params my PUT request doesn't seem to update what I intend to update but if I perform the PUT request in Body and have the form-data selected then the intended update happens.


Solution

  • Params correspond to the request parameters that are appended to the request URL.they are most used with GET requests. On the other hand, Body is the actual request body (usually it defines the request payload or the data that needs to be processed by the request). PUT and POST requests read usually the data from the body of the request and not from the params.