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