You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
363 B
11 lines
363 B
CURL COMMANDS:
|
|
|
|
GET /ping
|
|
command : curl -i -X GET localhost:8080
|
|
Returns a message "system is up".
|
|
|
|
GET /listAll
|
|
|
|
|
|
Test commands:
|
|
curl -i -H "Content-Type: application/json" -X POST -d '{\"author\":\"test\",\"name\":\"n\",\"note\":\"a\",\"price\":1,\"weight\":3,\"expectedDate\":\"2022-07-29T12:00\",\"delivered\":false,\"type\":\"book\"}' localhost:8080/addBook |