This file contains 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
data "vsphere_datacenter" "datacenter" { | |
name = "Sample DC" | |
} |
This file contains 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
const got = require('got'); | |
const { parallelLimit } = require('async'); | |
const body = { feature: 'my_feature', other: 'yes' }; | |
const bodies = [ | |
{ feature: 'my_feature', other: 'yes' }, | |
{ feature: 'my_feature3', other: 'yes' }, | |
{ feature: 'my_feature2', other: 'yes2' } | |
]; |
This file contains 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
app.use(express.session()); | |
app.use(express.csrf()); | |
app.get('/', index); | |
index = function(req,res,next){ | |
res.render('index',{token: req.session._csrf}); | |
} |
This file contains 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 FuelSoap = require('fuel-soap'); | |
var options = { | |
auth: { | |
clientId: 'clientId' | |
, clientSecret: 'clientSecret' | |
} | |
, soapEndpoint: 'https://webservice.s6.exacttarget.com/Service.asmx' // default --> https://webservice.exacttarget.com/Service.asmx | |
}; | |
var SoapClient = new FuelSoap(options); |
OlderNewer