Hi Everyone,
How to send Request to Restlet via Eksternal URL
I Try use POST entry Point in Suitelet and try request to REstlet ,
But error invalid Login.
Any Advice ?
Thanks
const response = https.request({
method: https.Method.POST,
url: "
https://td2998585.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=7396&deploy=1",
headers: {
"Content-Type": "application/json",
Authorization:
"Oauth 94eb1(hardcoded token id)",
},
body: JSON.stringify({ username, password }),
});