mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
10 lines
264 B
JavaScript
10 lines
264 B
JavaScript
var http = require('http')
|
|
|
|
exports.handler = function(event, context) {
|
|
http.get("http://requestb.in/MODIFIED", function(res) {
|
|
console.log("success", res.statusCode, res.body)
|
|
}).on('error', function(e) {
|
|
console.log("error", e)
|
|
})
|
|
}
|