Answers for "url fetch app pass payload and headers"

0

url fetch app pass payload and headers

var options =
{
  "method" : "post",
  "contentType" : "application/json",
  "headers" : {
    "Authorization" : "Basic <Base64 of user:password>"  
  },
  "payload" : '{ "endDate": "2012-06-03" }'
};

UrlFetchApp.fetch(YOURURL,options)
Posted by: Guest on October-29-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language