Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
themeConfluence
titleAjax request
var data = '{
               "ESignType": {
                               "Type": "DOCUSIGN",
                               "SignCallBackURL": "www.test.com"
                            },
               "HostFormOnQuik": true,
               "QuikFormID": "1"
            }';
var token = 'PUT_TOKEN_HERE';

$.ajax({
      type: "POST",
      contentType: "application/json",
      url: "https://websvcs.quikforms.com/rest/quikformsengine/QFE/Execute",
      data: data,
      beforeSend: function (xhr) {
            xhr.setRequestHeader("Authorization", "BEARER " + token);
        }
})

...