// install the "REST Client" extension in VSCode. @baseUrl=localhost:3000
###
# update flavor for [email protected]'s order PUT http://{{baseUrl}}/coffeeorders/[email protected] HTTP/1.1 content-type: application/json
- {
- "coffee": "earl grey", "emailAddress": "[email protected]", "flavor": "Vanilla", "strength": "80"
}
###
# update coffee and flavor for [email protected]'s order PUT http://{{baseUrl}}/coffeeorders/[email protected] HTTP/1.1 content-type: application/json
- {
- "coffee": "double espresso", "emailAddress": "[email protected]", "flavor": "Mocha", "strength": "100"
}