HTTP API Allow Cross Origin

While I was recently writing a pure front-end remote controller to my Arduino using the HTTP API, I noticed that blynk-cloud.com doesn’t return “Access-Control-Allow-Origin” HTTP header.

It could be a lot more convenient if we can get results by CORS from the API server. I don’t want to place a API proxy on my own server for this simple task.

@Dmitriy, please enable CORS for API-related requests.

Ok. Will be available in next update.

Thank you so much.

It looks like CORS is not implemented for API CSV download. Local server returns 301 redirect status without “Access-Control-Allow-Origin” header.

@gen you are right. Thanks. Will fix it right now.

1 Like

Is this fixed?