API call a RESTlet from a client script.

To API call a RESTlet from a client script, the URL does not have to include the RESTlet domain.

let response = https.get({
    url: '/app/site/hosting/restlet.nl?script=111&deploy=1'
});
console.log(response.body);

Leave a comment

Your email address will not be published. Required fields are marked *