(@cs0000)

Using Data

No 'Access-Control-Allow-Origin' header is present on the reques

Hi, I had a little app working until just two days ago, when I started receiving a CORS error: "No 'Access-Control-Allow-Origin' header is present on the requested resource". I tried adding the jsonp callback to no avail. I am able to access the generated url via the browser. What I am doing is generating state options for a select list. The offending function, getStateList(), can be seen at: https://github.com/Code-for-Miami/iam1of.us/blob/master/js/script.js#L97 ...more »

Voting

2 votes
2 up votes
0 down votes
Active
(@cs0000)

Using Data

No 'Access-Control-Allow-Origin' header is present on the reques

Hi, I had a little app working until just two days ago, when I started receiving a CORS error: "No 'Access-Control-Allow-Origin' header is present on the requested resource". I tried adding the jsonp callback to no avail. I am able to access the generated url via the browser. What I am doing is generating state options for a select list. The offending function, getStateList(), can be seen at: https://github.com/Code-for-Miami/iam1of.us/blob/master/js/script.js#L97 ...more »

Voting

2 votes
2 up votes
0 down votes
Active
(@calvin.metcalf)

API Technical Discussions

JSONP Callback

The jsonp callback should be 'callback' not 'jsonp' there is no reason you can't have both, but almost every single site that uses jsonp uses callback as the parameter, using something weird prevents people from easily making apps.

Voting

4 votes
4 up votes
0 down votes
Active
(@calvin.metcalf)

API Technical Discussions

JSONP Callback

The jsonp callback should be 'callback' not 'jsonp' there is no reason you can't have both, but almost every single site that uses jsonp uses callback as the parameter, using something weird prevents people from easily making apps.

Voting

4 votes
4 up votes
0 down votes
Active