How can i get authorization header value in netsuite restlet 2.1

I am trying to get authorization header value in restlet 2.1  as [http.request.headers] in GET method. But it says undefined. Is there any possible way to achieve this. Thanks in advance.

Rookie Asked on May 12, 2021 in SuiteScript.
Add Comment
1 Answer(s)

No. You dont get headers in general in RESTlets.

Intermediate Answered on May 12, 2021.

@battk: Thanks. Is there any other possible way to do this ?

on May 12, 2021.

You could use a suitelet instead, But you probably want to share why you want to spy on the authorization

on May 12, 2021.
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