Skip to content

Instantly share code, notes, and snippets.

@travist
Created October 16, 2017 18:33
Show Gist options
  • Save travist/d2f66597e08d8bd427d6c211f5fa101a to your computer and use it in GitHub Desktop.
Save travist/d2f66597e08d8bd427d6c211f5fa101a to your computer and use it in GitHub Desktop.
Using JavaScript SDK for Report API
Formio.request('https://yourproject.form.io/projectname/report', 'POST', [
{
'$match': {
....
}
},
{
'$contains': {
}
}
], {
'x-jwt-token': Formio.getToken()
}).then(function(results) {
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment