How I can call restlet using client script in 2.0?

I’m trying to call restlet using client script and it throwing an error ” Invalid login Attempt” . How can i resolve this?

Beginner Asked on October 22, 2020 in SuiteScript.
Add Comment
1 Answer(s)

Basic answer is to use the internal url of the restlet. Make sure that the restlet’s audience is setup to allow access to whoever is calling the restlet.

The external restlet url will require you to set authorization headers with credentials, which is insecure clientside

Advanced Answered on October 22, 2020.

If restlet and calling client script both are in different companies then?

on November 3, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor