curl --silent -X GET "http://localhost:4000/ping" | jq
curl --silent -X GET "http://localhost:4000/products" | jq
curl --silent -X GET "http://localhost:4000/products/laptop" | jq
curl --silent -X POST -H "Content-Type: application/json" -d '{"name":"mouse", "price":40, "quantity":40}' "http://localhost:4000/products" | jq
curl --silent -X PUT -H "Content-Type: application/json" -d '{"name":"mouse", "price":400, "quantity":400}' "http://localhost:4000/products/mouse" | jq
curl --silent -X DELETE "http://localhost:4000/products/mouse" | jq
-
Notifications
You must be signed in to change notification settings - Fork 0
misterloading/Python-REST-API-Simple
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published