Postman Practice
For problems #1 and #2, reference the Star Wars API
-
Use Postman to GET a list of planets.
-
Use Postman to GET a single person object.
For problems #3 - #6, use the https://api.vschool.io/[your_name]/todo
endpoint.
- Use Postman to POST 3 new todo objects. Run another GET to see them. Use the following template for your JSON body:
{
"title": "This is required",
"description": "This is optional",
"price": 0, //must be a number
"imgUrl": "http://path-to-url.jpg",
"completed": false //must be boolean
}
-
GET one single todo using its
id
property. -
DELETE one single todo using its
id
property. -
PUT one single todo using its
id
property.