AnsweredAssumed Answered

ADF Call Post webscript

Question asked by sanjaybandhniya on Dec 12, 2018
Latest reply on Dec 21, 2018 by

I am trying to get datalist value in my adf application and i can use GETmethod properly but at one place i need to call POST method so how can i call post method with body?


Below way I am using GET method.
this.alfrescoJsApi.core.webscriptApi.executeWebScript('GET', 'slingshot/datalists/data/node/workspace/SpacesStore/ce744915-6130-40b8-9c57-6b7c442f656f')
.then(function (data) {
console.log('Data' , data);
}, function (error) {
console.log('Error' + error);