Created
May 8, 2017 22:37
-
-
Save dashersw/d4a8c62974b8928bcbc0d133a46a1422 to your computer and use it in GitHub Desktop.
Hassle-free microservices with cote.js — conversion-client.js step 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const request = { type: 'convert', from: 'usd', to: 'eur', amount: 100 }; | |
requester.send(request, (res) => { | |
console.log(res); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment