Skip to content

Instantly share code, notes, and snippets.

@richardgrantserverless
Created May 23, 2022 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardgrantserverless/9b3c01bce3d914ae2bb4c3d85f3d634f to your computer and use it in GitHub Desktop.
Save richardgrantserverless/9b3c01bce3d914ae2bb4c3d85f3d634f to your computer and use it in GitHub Desktop.
$ curl -X POST https://123g1jc802.execute-api.us-east-1.amazonaws.com/dev/screenshots?url=http://google.com/ -H "x-api-key: [yourkey]"
{
"hash": "6ab016b2dad7ba49a992ba0213a91cf8",
"key": "6ab016b2dad7ba49a992ba0213a91cf8/original.png",
"bucket": "dev-foobar-screenshots",
"url": "https://foobar.cloudfront.net/6ab016b2dad7ba49a992ba0213a91cf8/original.png"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment