first commit

This commit is contained in:
2025-12-05 06:21:42 +07:00
commit a3c945a60a
119 changed files with 21757 additions and 0 deletions

12
services/docxtopdf.sh Normal file
View File

@ -0,0 +1,12 @@
# ==== GET TOken
rm -rf r.json
curl -s -X POST -H "Content-Type: application/json" -H 'x-username:proc' -H 'x-password:pr0c2022#tc3l' http://localhost:8083/PoiWord/authentification/sync.sh > r.json
token=$(cat r.json | jq -r '.response.token')
# === Create Docx to PDF
curl -s --location --request POST "http://localhost:8083/PoiWord/main/sync.sh/docxtopdf" \
--header "x-token: "$token \
--header "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "docxfilename=justifikasi_999999_131248.docx" > m.json
cat m.json