Coffee alkalmazás
This commit is contained in:
1 parent
882b1a4f25
commit
8012fa93c8
25 files changed
+4102
No files matched your search
@@ -0,0 +1,25 @@
|
||||
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
|
||||
Reference in new issue
Block a user