Node.js
// eval(fs.readFileSync("apiGateway-js-sdk/lib/axios/dist/axios.standalone.js", 'utf-8'));
const axios = require('axios'); //npm install axios
eval(fs.readFileSync("apiGateway-js-sdk/lib/CryptoJS/rollups/hmac-sha256.js", 'utf-8'));
eval(fs.readFileSync("apiGateway-js-sdk/lib/CryptoJS/rollups/sha256.js", 'utf-8'));
eval(fs.readFileSync("apiGateway-js-sdk/lib/CryptoJS/components/hmac.js", 'utf-8'));
eval(fs.readFileSync("apiGateway-js-sdk/lib/CryptoJS/components/enc-base64.js", 'utf-8'));
eval(fs.readFileSync("apiGateway-js-sdk/lib/url-template/url-template.js", 'utf-8'));
eval(fs.readFileSync("apiGateway-js-sdk/lib/apiGatewayCore/sigV4Client.js", 'utf-8'));
eval(fs.readFileSync("apiGateway-js-sdk/lib/apiGatewayCore/apiGatewayClient.js", 'utf-8'));
eval(fs.readFileSync("apiGateway-js-sdk/lib/apiGatewayCore/simpleHttpClient.js", 'utf-8'));
eval(fs.readFileSync("apiGateway-js-sdk/lib/apiGatewayCore/utils.js", 'utf-8'));
eval(fs.readFileSync("apiGateway-js-sdk/apigClient.js", 'utf-8'));
var apigClient = apigClientFactory.newClient({
apiKey: 'API_KEY'
});