top of page

PUT Request In Postman

What Is The PUT Request In Postman ?

To update an existing entry in RESTful web service,we use http PUT method.

Steps :

  • Create a new request.

  • Select PUT method.

  • Enter baseurl and pass user id with the base url using '/'.

http://localhost:8080/msg/webapi/userProfiles/Elsa Profile

  • Click on Body option,inside this select raw and then choose JSON from dropdown.

  • Enter entry in JSON format as :

{"firstName":"Anna","id":6,"lastName":"Langford","profileName":"Anna Profile"}

  • Save it and Send.

Example :

Output :

 

Refer next page DELETE Request In Postman

Putreq.png
Putopt.png
bottom of page