Deploying a RESTlet

Before you can use a RESTlet, you must follow the same guidelines as you would with other script types. At a high level, you must make sure the script is formatted properly and you must create a script record.

For a RESTlet to be properly formatted, all of the following must be true:

Before you can call a RESTlet, you must upload your script file to your File Cabinet and create a script record and a script deployment record for it. For help creating script records and script deployment records, see SuiteScript 2.x Record-Level Script Deployments.

When creating these records for a RESTlet, be aware of the following:

Related Topics

SuiteScript 2.x RESTlet Reference
Identifying a RESTlet in a Call
Selecting an HTTP/HTTPS Method for Calling a RESTlet
Creating a Content–Type Header
SuiteScript 2.x RESTlet Error Handling
RESTlet Governance and Security

General Notices