使用 git.io 縮短 github 網址

https://github.com/blog/985-git-io-github-url-shortener

$ curl -i https://git.io -F "url=https://ca3w.github.io/" -F "code=ca3w"
HTTP/1.1 201 Created
Server: Cowboy
Connection: keep-alive
Date: Sun, 21 Jan 2018 02:06:23 GMT
Status: 201 Created
Content-Type: text/html;charset=utf-8
Location: https://git.io/ca3w
Content-Length: 23
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Runtime: 0.012334
X-Node: acdfc202-b91c-40fa-9b91-1281ac7d8523
X-Revision: 392798d237fc1aa5cd55cada10d2945773e741a8
Strict-Transport-Security: max-age=31536000; includeSubDomains
Via: 1.1 vegur

https://ca3w.github.io/

打開 git.io/ca3w 301到 雲上認證機構管理系統

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章