Last active
January 8, 2022 01:23
-
-
Save hoyangtsai/a6f2cddb1de1a25c42e030ab8d9ee559 to your computer and use it in GitHub Desktop.
github url #shorten #snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i https://git.io -F "url=<original_url>" [-F "code=<token>"] | |
: ' | |
$ curl -i https://git.io -F "url=https://gist.github.com/hoyangtsai/a6f2cddb1de1a25c42e030ab8d9ee559" | |
HTTP/1.1 201 Created | |
Status: 201 Created | |
Content-Type: text/html;charset=utf-8 | |
Location: https://git.io/JSbdz | |
... | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment