Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 645
Mark Avatar asked Dec 28 '25 12:12

Mark


1 Answers

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.

like image 175
Al-waleed Shihadeh Avatar answered Jan 01 '26 19:01

Al-waleed Shihadeh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!