REST web services help to directly create, fetch, update and delete most of the NetSuite records. This mainly supports POST, GET, PUT and DELETE requests.
While sending REST API responses, the successful execution results in returning a 204 code, which sometimes is treated as a failure as no response is returned in the body from the NetSuite side.
For errors, NetSuite returns the error in the body of the response.
The successful REST execution always returns a 204 CODE. This indicates that the request was successful.
The response can be found in the header of the response. Please see the image below
