Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now
VBScript as your scripting language: function fcnGetXML(RepURL) DataToSend = "companyid=111&apikey=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&type=reps&sitename=" & RepURL servername = cstr(request.ServerVariables("Server_Name")) postUrl = "http://subdomain.mywebsite.com/EDI.asp" 'Set url to send request to including web service name. postUrl = postUrl Set xmlhttp = server.Createobject("MSXML2.XMLHTTP") 'Prepare request header. xmlhttp.Open "POST",postUrl,false xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" 'Send request: xmlhttp.send DataToSend If cstr(xmlhttp.Status) = "200" then 'Success, parse result fcnGetXML = xmlhttp.responseText Else 'failure handle failure fcnGetXML = "0" End if end function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.