How to set HTTP Status Code for Salesforce Apex REST API?
RestContext.response.statusCode can be used to set HTTP Status Code for Salesforce Apex REST API. Sample Apex Code: @RestResource( urlMapping='/RecordFinder/V1/*' ) global with sharing class RESTAPIController { @HttpGet global static void ....