diff options
Diffstat (limited to 'coverage/scripts/01-http.sh')
-rwxr-xr-x | coverage/scripts/01-http.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/coverage/scripts/01-http.sh b/coverage/scripts/01-http.sh new file mode 100755 index 00000000..191318c0 --- /dev/null +++ b/coverage/scripts/01-http.sh @@ -0,0 +1,17 @@ +#!/bin/sh + + +curl $URL/index.html +curl $URL/marrus-orthocanna.jpg +curl $URL/test.js +curl $URL/icons/marrus-orthocanna.jpg + +curl $URL/fake-file.html + +curl "$URL/api/salut/ping?arg1=null&arg1=%22a+string%22" +curl "$URL/api/hello/ping" \ + -F image=@$R/www/marrus-orthocanna.jpg \ + -F name=test +curl -X POST "$URL/api/hello/ping" \ + --header 'content-type: application/json' \ + --data-binary '[null,3,{"hello":false,"salut":4.5},true]' |