Closed xseignard closed 11 years ago
Hello, Any idea on how to solve it?
Regards,
Xavier
Have you been able to make a regular $.ajax request to this URL? I've tried briefly yesterday and was not successful.
Painfully typed on an iPhone keyboard.
On Nov 21, 2012, at 10:01 AM, Xavier Seignard notifications@github.com wrote:
Hello, Any idea on how to solve it?
Regards,
Xavier
— Reply to this email directly or view it on GitHubhttps://github.com/misoproject/dataset/issues/187#issuecomment-10600064.
Hello,
Actually I was wrong. It is not some jsonp at all. This question is just crap.
<myLife>
Anyway, it made me learn a lot about ajax request, I was an eclipse rcp developper in my previous life with no experience with ajax and other web stuff</myLife>
Sorry for the trouble, everything works like a charm.
Keep on the good work!
Kind regards,
Xavier
Hello,
I'm trying to fetch data from http://www.data-publica.com (stuff like this http://api.data-publica.com/v1/5801/country_year_slice_table/content?format=json&signature=f4c2c8e5d6a63589bd5674cafe6241d62b11a3d2&key=ab68fc51497db0ca21119091a92e418e8a27984f) and here is my setup :
But the url which is called is the following one : http://api.data-publica.com/v1/5801/country_year_slice_table/content?format=json&signature=f4c2c8e5d6a63589bd5674cafe6241d62b11a3d2&key=ab68fc51497db0ca21119091a92e418e8a27984f&callback=ab68fc51497db0ca21119091a92e418e8a27984f
So a
callback
arg is added to theurl
. And it makes the fetch impossible (error 403 forbidden). As you can note, callback value is the same as the key one.I'm pretty sure the bug is between my chair and my keyboard, so I'll be glad if you could provide any kind of help :)
I'm new to dataset, but it seems great, keep the good work!
Kind regards,
Xavier