Skip to content

Commit

Permalink
Update post-pet.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cnguy committed Jul 20, 2018
1 parent 066489e commit 28260fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions post-pet.sh
Expand Up @@ -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"

0 comments on commit 28260fc

Please sign in to comment.