nicehash/rest-clients-demo

Enable CORS support

Opened this issue · 3 comments

I am unable to use the NiceHash API from a web app, specifically Flutter Web. From an Android device works fine.

The error message I get isn't very helpful ("XMLHttpRequest error"), but almost every GitHub issue or Stack Overflow post I could find says that the server side needs to enable CORS support:
https://stackoverflow.com/a/60891897/9915119
flutter/flutter#57421 (comment)
https://stackoverflow.com/a/71369372/9915119
https://enable-cors.org/server.html

Seems like this would need to get fixed from your end but also doesn't seem that hard to change.

Hi....

Hi..

nkatbk commented

Hi....