Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
You can’t perform that action at this time.