Skip to content

Instantly share code, notes, and snippets.

@AlexCallejas
Last active March 28, 2018 04:50
Show Gist options
  • Save AlexCallejas/844d49140f0e193985e109134a000dd8 to your computer and use it in GitHub Desktop.
Save AlexCallejas/844d49140f0e193985e109134a000dd8 to your computer and use it in GitHub Desktop.
Git.io: GitHub URL Shortener
$ curl -i https://git.io -F "url=https://gist.github.com/darkaxl/d03da9585aabe10e14df29aa912155d8" -F "code=InstallJBossOnCentOS7"
HTTP/1.1 100 Continue
HTTP/1.1 201 Created
Server: Cowboy
Connection: keep-alive
Date: Wed, 28 Mar 2018 03:16:10 GMT
Status: 201 Created
Content-Type: text/html;charset=utf-8
Location: https://git.io/InstallJBossOnCentOS7
Content-Length: 64
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Runtime: 0.102504
X-Node: 6468f246-ac0f-4e53-8795-052ba4a9d12d
X-Revision: 392798d237fc1aa5cd55cada10d2945773e741a8
Strict-Transport-Security: max-age=31536000; includeSubDomains
Via: 1.1 vegur
https://gist.github.com/darkaxl/d03da9585aabe10e14df29aa912155d8
$
source: https://blog.github.com/2011-11-10-git-io-github-url-shortener/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment