diff options
| author | Michael Grote | 2023-04-14 12:20:04 +0200 |
|---|---|---|
| committer | Michael Grote | 2023-04-14 12:20:04 +0200 |
| commit | bd78ec158b07c7f61e282ce0920c67a161f696ae (patch) | |
| tree | c127d1cb67f1e1ce36b7825b6277ae94ca6b4962 | |
| parent | b91cf9fc508a6358ff47a49c11d3cce36bda5432 (diff) | |
add docs + test
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | tests.sh | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -94,7 +94,7 @@ curl -X DELETE -H "token: myuploadtoken" http://docker10.host.lan:5040/delete/fi #### input ```bash -curl -H "token: myuploadtoken" http://docker10.host.lan:5040/health +curl http://docker10.host.lan:5040/health ``` #### output @@ -38,4 +38,7 @@ curl -X DELETE -H "token: $TOKEN" $URL/delete/file | jq echo -e ${GREEN}Test: lösche nicht vorhandene Datei${ENDCOLOR} curl -X DELETE -H "token: $TOKEN" $URL/delete/file2 | jq +echo -e ${GREEN}Test: check health${ENDCOLOR} +curl $URL/health + rm -rf tests |