Skip to content

Instantly share code, notes, and snippets.

@GeertVL-zz
Last active December 20, 2015 03:18
Show Gist options
  • Save GeertVL-zz/6062123 to your computer and use it in GitHub Desktop.
Save GeertVL-zz/6062123 to your computer and use it in GitHub Desktop.
res.header('content-type', contentType);
res.send({ 'cards': cards,
'links': [{
'method': 'get',
'rel': 'http://relations.stackofcards.com/card',
'href': '/api/card/'
}]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment