Skip to content

Instantly share code, notes, and snippets.

@mearns
Last active November 23, 2016 02:43
Show Gist options
  • Save mearns/d69b97e2a319bfd172b58eceffceb145 to your computer and use it in GitHub Desktop.
Save mearns/d69b97e2a319bfd172b58eceffceb145 to your computer and use it in GitHub Desktop.
function makeRestApiCall(client, data) {
return client.post('http://example.com/rest/api/expectedEndpoint', data);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment