Skip to content

Instantly share code, notes, and snippets.

@housni
Created September 27, 2018 15:44
Show Gist options
  • Save housni/4c8cda1528c2523825b09485f68fdfa1 to your computer and use it in GitHub Desktop.
Save housni/4c8cda1528c2523825b09485f68fdfa1 to your computer and use it in GitHub Desktop.
$ curl \
-X GET \
-s \
-w "%{url_effective}\n%{http_code}\n%{redirect_url}" \
"https://3obl3k5ugh.execute-api.us-east-1.amazonaws.com/Prod"
https://3obl3k5ugh.execute-api.us-east-1.amazonaws.com/Prod
301
http://example.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment