summaryrefslogtreecommitdiffstats
path: root/coverage/scripts/01-http.sh
blob: 191318c0058fdb3be5c2e55030375940d40ee351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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]'