Update script to actually work

This commit is contained in:
decentral1se
2021-06-16 12:59:33 +02:00
parent bc8dc62ca1
commit a436b6ff92

View File

@ -1,7 +1,9 @@
#!/bin/sh #!/bin/bash
FILE="$1"
/usr/bin/curl \ /usr/bin/curl \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-X GET \ -X GET \
-d '{"username":"xyz","password":"xyz"}' \ -d "{\"file\":\"${FILE}\"}" \
https://publish.lumbung.space https://publish.lumbung.space