coverage: Add coverage test
[src/app-framework-binder.git] / coverage / scripts / 01-http.sh
diff --git a/coverage/scripts/01-http.sh b/coverage/scripts/01-http.sh
new file mode 100755 (executable)
index 0000000..191318c
--- /dev/null
@@ -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]'