mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-22 11:19:25 +01:00
9 lines
319 B
Bash
Executable File
9 lines
319 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Fill me
|
|
PINATAAPIKEY=
|
|
PINATASECRETAPIKEY=
|
|
|
|
# -H = add header, -X GET = get request, tee = create a file and store outpot there
|
|
curl -H "pinata_api_key: $PINATAAPIKEY" -H "pinata_secret_api_key: $PINATASECRETAPIKEY" "https://api.pinata.cloud/data/pinList?status=pinned" -X GET | tee response.json
|