g0v / api.ly

api.ly.g0v.tw - ly api endpoint
14 stars 6 forks source link

api.ly may be rejected by chrome due to cross domain access #23

Open kcwu opened 11 years ago

kcwu commented 11 years ago

XMLHttpRequest cannot load http://api.ly.g0v.tw/v0/collections/debates?l=30&sk=0. Origin http://ly.g0v.tw is not allowed by Access-Control-Allow-Origin.

clkao commented 11 years ago

curl -H 'Origin: http://ly.g0v.tw' -D - 'http://api.ly.g0v.tw/v0/collections/debates?l=30&sk=0 shows Access-Control-Allow-Origin, can you confirm?