coverage: Improve coverage test
[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 curl -s -o /dev/null $URL/opa/item/extra/index.html
9
10 curl -s -o /dev/null $URL/fake-file.html
11
12 curl -s "$URL/api/salut/ping?arg1=null&arg1=%22a+string%22"
13 curl -s "$URL/api/hello/ping" \
14         -F image=@$R/www/marrus-orthocanna.jpg \
15         -F name=test
16 curl -s -X POST "$URL/api/hello/ping" \
17         --header 'content-type: application/json' \
18         --data-binary '[null,3,{"hello":false,"salut":4.5},true]'
19
20 curl -s "$URL/api/hello/get?name=something&something=nothing"
21
22 curl -s -F name=file -F file=@$R/www/marrus-orthocanna.jpg "$URL/api/hello/get"
23
24 curl -s -X HEAD -o /dev/null $URL/index.html
25 #curl -s -X CONNECT -o /dev/null $URL/index.html
26 curl -s -X DELETE -o /dev/null $URL/index.html
27 curl -s -X OPTIONS -o /dev/null $URL/index.html
28 curl -s -X PATCH -o /dev/null $URL/index.html
29 curl -s -X PUT -o /dev/null $URL/index.html
30 curl -s -X TRACE -o /dev/null $URL/index.html