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:
OAuth 2.0 is the preferred authentication method. You should consider using OAuth 2.0 instead of TBA whenever possible.
RESTlets are part of SuiteScript. They are 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 is permitted to send web services calls only. RESTlet calls receive an INVALID_LOGIN_CREDENTIALS error response.