Selecting an HTTP/HTTPS Method for Calling a RESTlet

When you call a RESTlet, you can use one of four HTTP/HTTPS methods: delete, get, post, or put. Use the N/https module to connect SuiteScript scripts, RESTlets, and SuiteTalk REST endpoints without needing to reauthenticate. Use https.requestRestlet(options) or https.requestSuiteTalkRest(options) to send HTTPS requests to a RESTlet or REST endpoint.

When you call a RESTlet, keep these things in mind:

Related Topics

General Notices