Node.js https request for AWS Lambda
const req = https.request(post_options, | |
(res) => res.on("data", () => callback(null, "OK"))) | |
req.on("error", (error) => callback(JSON.stringify(error))); | |
req.write(post_data); | |
req.end(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment