Files
frontend_13/coffee/backend/test.rest
T
2026-11-02 10:57:39 +01:00

25 lines
432 B
ReStructuredText

GET http://localhost:3000/coffees
###
GET http://localhost:3000/coffees/2
###
POST http://localhost:3000/coffees
Content-Type: application/json
{
"id": 16,
"name": "Green Eye",
"roast": "Light",
"price": 810
}
###
PUT http://localhost:3000/coffees/3
Content-Type: application/json
{
"name": "Latte Macchiato",
"roast": "Light",
"price": 980
}
###
DELETE http://localhost:3000/coffees/KVTodIAcgXk