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 request = require('request'); | |
| request('https://0n2i23kb6f.execute-api.us-east-1.amazonaws.com/dev/mydemoresource', function (error, response, body) { | |
| if (!error && response.statusCode == 200) { | |
| console.log(body) // Show the HTML | |
| } | |
| }) |
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
| #!/bin/bash -x | |
| sudo yum -y install yum-utils | |
| sudo yum -y install https://centos7.iuscommunity.org/ius-release.rpm | |
| sudo yum -y install python35u | |
| sudo yum -y install python35u-pip | |
| sudo yum -y install python35u-devel | |
| sudo yum -y install python35u-tools | |
| sudo yum -y install openssl-devel |
NewerOlder