Closed gremo closed 10 months ago
@gremo REST API is not designed to be used on the client side js in the browser. By passing 'X-Auth-Token' in your Javascript you'll expose it to the users of your app. Instead you need to use DocuSeal REST API on your server side and return the data to authorized users
@omohokcoj thanks for the clarification, it was a quick test to get an overview of the API from the browser 😄
I've allowed all possible origins, methods and headers (these are headers ent by the server):
Curl works fine. Any idea?
Maybe it's an issue with the
OPTIONS
method? See https://stackoverflow.com/questions/52047548/response-for-preflight-does-not-have-http-ok-status-in-angular?