Hey there, has anyone worked in getting netsuite s...
# suitescript
d
Hey there, has anyone worked in getting netsuite saved search data in google app script. I have the code but it isn’t giving the JSON. it’s returning the headers which I’m passing as a parameter.
b
thats what getRequest does, its a logging method
d
but I have seen an example where it was fetching the data. How do I call the restlet data then?
these are the logs which are printed
message has been deleted
b
there are 5 methods on the docs i linked
2/5 dont actually make requests
choose a method that actually sends a request
d
ahhh
understood
fetch sends a request
and return invalid login attempt
b
you will have to implement TBA
or more unlikely. OAuth 2 with client assertions
d
okay I’ll try with that
one more thing TBA means I have client ID,client secret,consumerid and consumer sceret
correct?
b
the way you are mixing terms suggests an incomplete understanding
Token-based Authentication is where you want to start
d
okay thanks for guidence.