Problem read rss

change my way of consuming the rss and did not work on the device but I get the following error:

XMLHttpRequest cannot load No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

Anyone know how to set it ???

Have you read If not, take a look at it and see if any of the advice can help. Though admittedly, I’ve never seen an origin of ‘null’ in a CORS-related error.

A cause of a similar error that I have had, even with a server set up for CORS, is a request that’s not formed correctly - missing or invalid parameters. Some servers apparently don’t send the Access-Control-Allow-Origin header on error responses. I doubt that’s the case here, though.