Create Document in vault using API from html page

Create Document in vault using API from html page, when I tried in postman it is working but when I try from external domain html page it is giving zero state error(ready state: 0). Technologies used to make request is jQuery ajax, HTML. I think it is because of cross domain request, can you provide me some documents to create document in vault from external domain html pages.

1 comment

  • Avatar
    Kevin N Official comment

    Hi Samuel,

    At this time, the Vault APIs do not support cross domain requests directly (CORS or JSONP) through HTML and Javascript. Typically, a customer would have to implement an API proxy or send the API calls via the web application's backend server.




Please sign in to leave a comment.