forked from lightvector/arimaa-server
-
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
1 parent
a2278e8
commit e2e69d1
Showing
2 changed files
with
10 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash -eux | ||
#Convenience script for sending queries to a test server | ||
curl -i -H "Content-Type: application/json" -X GET "http://localhost:8080/$1" | ||
{ set +x; } 2>/dev/null | ||
echo "" |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash -eux | ||
#Convenience script for sending queries to a test server | ||
curl -i -H "Content-Type: application/json" -X POST -d "$2" "http://localhost:8080/$1" | ||
{ set +x; } 2>/dev/null | ||
echo "" |