RESTlet Authentication
RESTlets require authentication and calls are processed synchronously. The way to provide login credentials for a RESTlet varies according to whether the RESTlet is called from an external client or from a client hosted by NetSuite, such as a client SuiteScript.
See the following sections for information about authentication for RESTlets:
Note:
OAuth 2.0 is the preferred authentication method. You should consider using OAuth 2.0 instead of TBA whenever possible.
Note:
RESTlets are part of SuiteScript. They're not part of NetSuiteās web services feature. Be aware that if a role has the Web Services Only box checked, a user logged in through that role can send web services calls only. RESTlet calls receive an INVALID_LOGIN_CREDENTIALS error response.