Hi all, not sure if this is a bug or intended behavior. I’m writing a little Javascript client-side app that will retrieve a Dynalist document and display a flat sorted list of items matching a search. Unfortunately when the app tries to pull the document from the API it gets rejected with a CORS error:
(In the error above, the origin IP is a local dev server on my Chromebook, but I expect this error would occur on any server.)
Does the Dynalist API have an Access-Control-Allow-Origin
header set? Or is this not an intended use of the API? Or maybe I’m just doing it wrong?
Here’s the source code, in case it helps: https://github.com/PurpleGuitar/dynalist_utils/blob/6a0fdfd72dddbe691f5d14bc67a5038c9aaf400f/dynalist_utils.js
Disclaimer: I’m not strong in JavaScript. Comments are welcome, but please be kind.