Back to All

CORS Policy blocking Local File Application

Hi There,
The company I work for recently got Samsara products, and I'm trying to increase functionality and automate some of the workload through the Api. So far from the thorough documentation it's been a breeze, but the problem is that for the application I've created, there is no webserver it's running on. I'm solely using client JavaScript to write the program and the CORS policy set up on the API's end is blocking my request since my origin locally, 'null' is invalid according to the policy. Is it possible on Samsara's end to change the

"Access-Control-Allow-Origin" http header to be changed to a value of
" * " (Meaning any origin is valid)?

This would allow for my program to have access and to the API, and make it so I don't need to host a webserver for the application. Thank you, I appreciate the help.

Thanks for the help