Usage RESTlet Request Headers

When you send a request, you need to include the following request headers as part of the request.

Name

Value

Method

POST

URL

<RESTlet External URL>

Headers

User-Agent-X

SuiteScript-Call

Content-Type

application/json

Authorization

NLAuth nlauth_account=SCOMPID, nlauth_email=USEREMAIL, nlauth_signature=USERPASSWORD, nlauth_role=3

Perform the following procedure to get the value for the RESTlet external URL.

To get the value for the RESTlet external URL:

  1. Go to Customization > Scripting > Scripts.

  2. Set the filters to view only RESTlet script types.

  3. Look for the sbe_rs_main (customscript_sbe_rs_main) script and click the Deployments link.

  4. Click the View link for the customdeploy_sbe_rs_main deployment record.

  5. Copy the URL specified in the External URL field. Use this value for the URL in the request header.

General Notices