trying to connect to restlet / api without Aouth. ...
# suitescript
s
trying to connect to restlet / api without Aouth. I set set those variables What am I missing ?
Basically you need a time machine
😢 1
😂 1
s
Well, I'm in trouble. I need to call the restlet one way or another. I'm willing to pay someone to help me. simonlafleur5337@gmail.com
e
Think of the RESTlet as a hotel room door. You will need a room key card in order to open that door. Trying to open it with a standard key will not work because there’s no key hole.
m
What are you calling from?
j
@Simon I solved a similar problem in a sneaky way using an SSP application.
SSP applications do NOT require authentication but can GENERATE the required OAuth headers.
basically I need to be able to call a Suitelet from Slack, and Slack can’t send OAuth headers.
So slack contacts the SSP application, which generates the OAuth headers and sends both the initial Slack request + the OAuth details on to the Suitelet. You should be able to do similar for a Restlet.
drop me a DM if you want more info