Unbewohnte
3 years ago
2 changed files with 1 additions and 7 deletions
@ -1,6 +0,0 @@ |
|||||||
curl localhost:8000/randomdata |
|
||||||
curl localhost:8000/randomdata -H "content-type:application/json" -d '{"title":"This is a title","text":"This is a text"}' -X POST |
|
||||||
curl localhost:8000/randomdata/1 -H "content-type:application/json" -d {"title":"This is an updated title","text":"This is an updated text"}' -X PUT |
|
||||||
curl localhost:8000/randomdata/1 |
|
||||||
curl localhost:8000/randomdata/1 -X DELETE |
|
||||||
|
|
Loading…
Reference in new issue