Does bitly API support CORS?
问题 I saw in their documentation that CORS is supported. But my attempts to make request from JavaScript have no success. Requesting this URL: https://api-ssl.bitly.com/v3/shorten?longUrl=https://google.com/&access_token=token&domain=bit.ly&format=json&languageCode=en-US I receive standard error : No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://google.com' is therefore not allowed access. UPD: bitly documentation - http://dev.bitly.com/cors.html 回答1: