Created
October 5, 2014 20:54
-
-
Save phstc/3f65e1bb71a36ee2b97d to your computer and use it in GitHub Desktop.
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
response.status = 200; | |
var payload = JSON.parse(request.body); | |
response.headers['Content-Type'] = 'application/json'; | |
response.body = { "request_id": payload.request_id, "summary": "Hello " + payload['order']['id'] }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment