Google URL Shortener API可以为一个长网址提供多个短网址吗?
我发现如果:
curl https://www.googleapis.com/urlshortener/v1/url \
-H 'Content-Type: application/json' \
-d '{"longUrl": "http://www.google.com"}'
它总是输出相同的短网址:
{
"kind": "urlshortener#url",
"id": "http://goo.gl/fbsS",
"longUrl": "http://www.google.com/"
}
答案 0 :(得分:0)
http://support.google.com/websearch/bin/answer.py?hl=en&answer=190768