Jesse Skinner :javascript: on Nostr: TIL: to get the location of any S3 bucket, you can just do: ``` curl -sI ...
TIL: to get the location of any S3 bucket, you can just do:
```
curl -sI https://bucketname.s3.amazonaws.com
```
(note that you need the http:// in there before the url - mastodon might be removing it)
and the answer is in the header:
x-amz-bucket-region: us-east-1
#aws #webdev
```
curl -sI https://bucketname.s3.amazonaws.com
```
(note that you need the http:// in there before the url - mastodon might be removing it)
and the answer is in the header:
x-amz-bucket-region: us-east-1
#aws #webdev