Trying to get this to work. I keep getting a Missing ) after argument list. (line 6, file "Code")Dismiss. I've double checked my parenthesis, but no avail. Am I missing something?
I hope this is a reasonable question. Thank you.
function myFunction() {
var url = "https://company.harvestapp.com/people";
var headers = {
"Accept": "application/xml",
"Content-Type": "application/xml",
"Authorization": "Basic " + Utilities.base64Encode(dude@dude.com +":"+pw)
};
var response = UrlFetchApp.fetch(url,headers);
var text = response.getResponseCode();
Logger.log(text);
}