Skip to content

Instantly share code, notes, and snippets.

@zainengineer
Created January 16, 2019 00:28
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 zainengineer/4caabe207cd44b7236830ae649f3bdff to your computer and use it in GitHub Desktop.
Save zainengineer/4caabe207cd44b7236830ae649f3bdff to your computer and use it in GitHub Desktop.
curl http://127.0.0.1 -H 'Host: example.com' -H 'X-Forwarded-Proto: https'
curl https://127.0.0.1/ -H 'Host: example.com' -H 'X-Forwarded-Proto: https' --insecure
curl http://httpbin.org/headers -H 'Host: httpbin.org' -H 'X-Forwarded-Proto: https'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment