Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rahatarmanahmed/2ada0c4a51410e2ff3db to your computer and use it in GitHub Desktop.
Save rahatarmanahmed/2ada0c4a51410e2ff3db to your computer and use it in GitHub Desktop.
Index Example
var request = require('request');
request(
{
url: 'https://{projectname}.form.io/{resourcename}/submission?limit=20',
method: 'GET',
headers: {
'x-jwt-token': token,
'Range-Unit': 'items',
'Range': '0-20'
}
}
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