From 28260fc36e4e30c8b246e0b156207b45a8a9fabd Mon Sep 17 00:00:00 2001 From: Chau Date: Thu, 19 Jul 2018 20:14:07 -0700 Subject: [PATCH] Update post-pet.sh --- post-pet.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post-pet.sh b/post-pet.sh index 9d5fff8b..ecaf13de 100755 --- a/post-pet.sh +++ b/post-pet.sh @@ -6,10 +6,10 @@ echo "Creating pet..." curl -X POST http://localhost:8080/pets -d @pet.json --header "Content-Type: application/json" echo "Getting created pet with id 1" -curl -X GET "http://localhost:8080/pets?id=1" +curl -X GET "http://localhost:8080/pets/1" echo "Listing pets..." curl -X GET "http://localhost:8080/pets?pageSize=10&offset=0" echo "Deleting pet..." -curl -X DELETE "http://localhost:8080/pets?id=1" +curl -X DELETE "http://localhost:8080/pets/1"