coverage and test: Add tests
[src/app-framework-binder.git] / coverage / scripts / 01-http.sh
1 #!/bin/sh
2
3
4 curl -s -o /dev/null $URL/index.html
5 curl -s -o /dev/null $URL/marrus-orthocanna.jpg
6 curl -s -o /dev/null $URL/test.js
7 curl -s -o /dev/null $URL/icons/marrus-orthocanna.jpg
8
9 curl -s -o /dev/null $URL/fake-file.html
10
11 curl -s "$URL/api/salut/ping?arg1=null&arg1=%22a+string%22"
12 curl -s "$URL/api/hello/ping" \
13         -F image=@$R/www/marrus-orthocanna.jpg \
14         -F name=test
15 curl -s -X POST "$URL/api/hello/ping" \
16         --header 'content-type: application/json' \
17         --data-binary '[null,3,{"hello":false,"salut":4.5},true]'
18
19 curl -s "$URL/api/hello/get?name=something&something=nothing"
20
21 curl -s -F name=file -F file=@$R/www/marrus-orthocanna.jpg "$URL/api/hello/get"
22
23 curl -s -X HEAD -o /dev/null $URL/index.html
24 #curl -s -X CONNECT -o /dev/null $URL/index.html
25 curl -s -X DELETE -o /dev/null $URL/index.html
26 curl -s -X OPTIONS -o /dev/null $URL/index.html
27 curl -s -X PATCH -o /dev/null $URL/index.html
28 curl -s -X PUT -o /dev/null $URL/index.html
29 curl -s -X TRACE -o /dev/null $URL/index.html