raghav
06/28/2022, 7:31 AMNickSuite
06/28/2022, 10:49 AMNickSuite
06/28/2022, 10:51 AMraghav
06/28/2022, 11:06 AMbattk
06/28/2022, 11:26 AMbattk
06/28/2022, 11:26 AMraghav
06/28/2022, 11:27 AMbattk
06/28/2022, 11:27 AMbattk
06/28/2022, 11:27 AMraghav
06/28/2022, 11:28 AMbattk
06/28/2022, 11:29 AMNickSuite
06/28/2022, 11:29 AMbattk
06/28/2022, 11:29 AMNickSuite
06/28/2022, 11:30 AMbattk
06/28/2022, 11:31 AMNickSuite
06/28/2022, 11:31 AMraghav
06/28/2022, 11:31 AMbattk
06/28/2022, 11:32 AMbattk
06/28/2022, 11:32 AMSo I have been asked to create a custom record, store the json along with some other info.
And then use a userevent script on that record to trigger another restlet to update the projects.
raghav
06/28/2022, 11:32 AMbattk
06/28/2022, 11:33 AMbattk
06/28/2022, 11:33 AMraghav
06/28/2022, 11:35 AMraghav
06/28/2022, 11:36 AMbattk
06/28/2022, 11:37 AMbattk
06/28/2022, 11:37 AMbattk
06/28/2022, 11:38 AMbattk
06/28/2022, 11:39 AMraghav
06/28/2022, 11:43 AMbattk
06/28/2022, 11:45 AMraghav
06/28/2022, 1:41 PMraghav
06/29/2022, 7:49 AMvar restUrl = url.resolveScript({
scriptId: 'customscript_rest_project_update',
deploymentId: 'customdeploy1',
returnExternalUrl: true,
});
var request_output = https.request({
method: 'POST',
url: restUrl,
body: 'hi',
headers: s_headers
});
What are the key value pairs I need to pass in s_headers when calling restlet from uservent ?battk
06/29/2022, 7:50 AMbattk
06/29/2022, 7:50 AMraghav
06/29/2022, 7:53 AMraghav
06/29/2022, 7:54 AMbattk
06/29/2022, 8:32 AMraghav
06/29/2022, 8:33 AMbattk
06/29/2022, 10:00 AMbattk
06/29/2022, 10:01 AMraghav
06/29/2022, 10:01 AM