feat: try make it work

This commit is contained in:
2025-07-04 18:18:51 +02:00
parent eb27afa73a
commit e7601f0e4c
4 changed files with 67 additions and 20 deletions

15
job-get.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
source ./.env
BASE_URL=https://www-genesis.destatis.de/genesisWS/rest/2020
curl -X POST "$BASE_URL/catalogue/jobs" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "username: $DESTATIS_TOKEN" \
-d "selection=" \
-d "searchcriterion=status" \
-d "sortcriterion=status" \
-d "area=all" \
-d "type=all" \
| jq