Update script to actually work
This commit is contained in:
parent
bc8dc62ca1
commit
a436b6ff92
@ -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
|
||||||
|
Reference in New Issue
Block a user