Craig
02/04/2021, 1:38 AMbattk
02/04/2021, 1:43 AMCraig
02/04/2021, 1:43 AMCraig
02/04/2021, 1:43 AMCraig
02/04/2021, 1:44 AMCraig
02/04/2021, 1:44 AMbattk
02/04/2021, 1:47 AMbattk
02/04/2021, 1:48 AMCraig
02/04/2021, 1:49 AMCraig
02/04/2021, 1:50 AMbattk
02/04/2021, 1:52 AMbattk
02/04/2021, 1:53 AMbattk
02/04/2021, 1:53 AMPNJ
02/04/2021, 8:40 AMCraig
02/04/2021, 9:18 AMCraig
02/04/2021, 9:18 AMPNJ
02/04/2021, 9:30 AMPNJ
02/04/2021, 9:30 AM&apikey=abcdefghijklwhatever
appended in the URL then check it in the suitelet:
function onRequest(context) {
if (context.request.method === 'GET') {
if (context.request.parameters.apikey=='abcdefghijklwhatever') {
// do stuff
} else {
log.debug('sweet let', 'DENIED');
}
}
else
{
log.debug('sweet let','bad request type');
}
return true;
}
PNJ
02/04/2021, 9:31 AMPOST
unless the data is small and you can use other GET
parameters easily (though obviously they get saved in any naughty MITM proxies along the way)Craig
02/05/2021, 1:31 AMCraig
02/05/2021, 1:31 AMCraig
02/05/2021, 1:31 AMbattk
02/05/2021, 1:40 AMbattk
02/05/2021, 1:41 AMCraig
02/05/2021, 1:46 AMCraig
02/07/2021, 12:20 PMCraig
02/07/2021, 12:20 PMCraig
02/07/2021, 12:20 PMPNJ
02/07/2021, 12:28 PMCraig
02/07/2021, 12:31 PMCraig
02/07/2021, 12:32 PMPNJ
02/07/2021, 3:21 PMCraig
02/07/2021, 11:03 PMmatt.graney
02/09/2021, 5:46 PM