Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zackurben/6edcd9273338bd0aaf0b to your computer and use it in GitHub Desktop.
Save zackurben/6edcd9273338bd0aaf0b to your computer and use it in GitHub Desktop.
Delete Example
var request = require('request');
request(
{
url: 'https://{projectname}.form.io/api/{resourcename}/submission/{submissionId}',
method: 'DELETE',
headers: {
'x-jwt-token': token
}
}
function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body);
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment