-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dsandersAzure
committed
Sep 8, 2015
1 parent
599d7ed
commit d72bddf
Showing
1 changed file
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,61 @@ | ||
echo " " | ||
echo ">>> Test run starting " | ||
echo ">>> Test run starting <<<" | ||
echo " " | ||
echo " " | ||
echo "-----------------" | ||
echo "Get list of tasks" | ||
echo "-----------------" | ||
echo " " | ||
curl -i http://127.0.0.1:5000/tasks | ||
echo " " | ||
echo "-----------------" | ||
echo " " | ||
echo " " | ||
echo "-----------------" | ||
echo "Get task 1" | ||
echo "-----------------" | ||
curl -i http://127.0.0.1:5000/tasks/1 | ||
echo " " | ||
echo "-----------------" | ||
echo " " | ||
echo " " | ||
echo "-----------------" | ||
echo "Get task 2" | ||
echo "-----------------" | ||
curl -i http://127.0.0.1:5000/tasks/2 | ||
echo " " | ||
echo "-----------------" | ||
echo " " | ||
echo " " | ||
echo "-----------------" | ||
echo "Add task 3" | ||
echo "-----------------" | ||
curl -i -H "Content-Type: application/json" -X POST -d '{"title":"Read a book", "description":"Read Harry Potter and the Philosphers Stone"}' http://127.0.0.1:5000/tasks | ||
echo " " | ||
echo "-----------------" | ||
echo " " | ||
echo " " | ||
echo "-----------------" | ||
echo "Add task 4" | ||
echo "-----------------" | ||
curl -i -H "Content-Type: application/json" -X POST -d '{"title":"TV", "description":"Watch some Red Dwarf to chill out", "done":true}' http://127.0.0.1:5000/tasks | ||
echo " " | ||
echo "-----------------" | ||
echo " " | ||
echo " " | ||
echo "-----------------" | ||
echo "Delete task 4" | ||
echo "-----------------" | ||
curl -i -X DELETE http://127.0.0.1:5000/tasks/4 | ||
echo " " | ||
echo "-----------------" | ||
echo " " | ||
echo " " | ||
echo "-----------------" | ||
echo "Get list of tasks" | ||
echo "-----------------" | ||
echo " " | ||
curl -i http://127.0.0.1:5000/tasks | ||
echo " " | ||
echo "-----------------" | ||
echo " " |