Skip to content

Commit

Permalink
fix: add body
Browse files Browse the repository at this point in the history
  • Loading branch information
darrelhong committed Jul 3, 2024
1 parent 0988107 commit add4af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion download.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mkdir -p ~/downloads
mkdir -p data/datasets

SIGNED_S3_LINK=$(curl -X POST https://api-production.data.gov.sg/v2/internal/api/datasets/d_8b84c4ee58e3cfc0ece0d773c8ca6abc/initiate-download | jq -r '.data.url')
SIGNED_S3_LINK=$(curl -X POST https://api-production.data.gov.sg/v2/internal/api/datasets/d_8b84c4ee58e3cfc0ece0d773c8ca6abc/initiate-download --data '{}' | jq -r '.data.url')

echo $SIGNED_S3_LINK

Expand Down

0 comments on commit add4af7

Please sign in to comment.