Created
November 4, 2017 21:03
-
-
Save pbzona/3790e47c802759c81f0808f7d60406f2 to your computer and use it in GitHub Desktop.
Implement your first microservice - create a request object
This file contains hidden or 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
var lambdaRequest = new Request(endpoint, { | |
method: 'POST', | |
mode: 'no-cors', | |
body: JSON.stringify(body) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment