feat: try make it work
This commit is contained in:
15
job-get.sh
Executable file
15
job-get.sh
Executable 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
|
||||
Reference in New Issue
Block a user