Logo
Markus Postman Training API Documentation

Update item

PUT {{url}}/record?id=xyz789

 

Body PARAM

Key Datatype Required Description 
id
string



HEADERS

Key Datatype Required Description 




RESPONSES

status Created

{ "welcome": "You're using the API Adoption course! Check out the 'data' object below to see the values returned by this API request. Click **Visualize** to see the 'tutorial' guiding you through next steps - do this for every request in the collection!", "tutorial": { "title": "You updated a record! ✅", "intro": "_You didn't really update a record, this is just a demo endpoint.._ 🙈", "data": { "message": "Record updated" }, "steps": [ { "note": "You can share collections with your users in multiple ways–by publishing documentation / including a **Run in Postman** button on your site, publishing a template, or sharing from a public workspace. Your users can import collections from the button in your docs / site, or by forking from a workspace like you did at the start of the session." }, { "note": "When you create a public workspace, users can see collections, requests, environments, and more _in context inside Postman–and you can create links to all of these_. In order to use a collection from a workspace, your audience will fork it into their own workspace where they can edit and send requests." }, { "note": "The number of collection forks is an indicator of engagement with the resources in a public workspace. Users can also comment on your public workspace, and you can even accept pull requests to create an open source contribution pathway. 🚀" } ], "next": [ { "step": "> ✏️ If you just need to share a collection with someone, you can use the collection's public link–from the collection **Share** option, choosing **Get public link**, then generate or update the link and copy it. _Note that you will need to update the link each time you make a change to the collection as the link acts as a snapshot of the collection._ We are going to use this method to check your training session progress before you submit your collection to receive the API Adoption badge.. 👀" }, { "step": "Save the response to this request as an example like you did before, then open the `DEL` `Remove item` request and hit **Send**." } ] } }



Curl
curl -X PUT 'prod-api/record?id=xyz789?id=xyz789' -d '{"num":10}'

ENDPOINTS