Skip to content

Instantly share code, notes, and snippets.

@rahatarmanahmed
Forked from zackurben/gist:f2d894937cbfa66d623a
Last active September 18, 2015 15:33
Show Gist options
  • Save rahatarmanahmed/8835a65f0d590cf1721b to your computer and use it in GitHub Desktop.
Save rahatarmanahmed/8835a65f0d590cf1721b to your computer and use it in GitHub Desktop.
Get Example
var request = require('request');
request(
{
url: 'https://{projectname}.form.io/{resourcename}/submission/{submissionId}',
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