We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Chrome the following code works. In Firefox I get the error : Error: CORS request rejected With the code :
use strict'; var request =require('browser-request'); var url = 'http://docs.google.com/spreadsheets/export?id=1-on_GfmvaEcOk7HcWfKb8B6KFRv166RkLN2YmDEtDn4&exportFormat=csv'; request(url, function (error, response, body) { if (!error && response.statusCode == 200) { console.log('success fetch'); console.log(response.statusCode); console.log(body); }else{ console.log(error + ' ' + response.statusCode ); } });
The text was updated successfully, but these errors were encountered:
pebcak ;) http://enable-cors.org/
Sorry, something went wrong.
Yes. Actually I tried with jquery ajax and had exactly the same issue. So it's not a browser-request problem. http://stackoverflow.com/questions/32897921/why-does-this-cors-request-to-a-google-drive-sheet-fail-in-firefox-works-in-c
No branches or pull requests
In Chrome the following code works.
In Firefox I get the error :
Error: CORS request rejected
With the code :
The text was updated successfully, but these errors were encountered: