function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
manoj6492manoj6492 

Question on Rest request

why a developer might need direct access to the RESTRequest object?

Ashish_SFDCAshish_SFDC

Hi Manoj, 

 

Represents an object used to pass data from an HTTP request to an Apex RESTful Web service method.

See the link for complete documentation: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_restrequest.htm

 

Regards,

Ashish

Please mark this post as Solved if your question is answered. 

 

Avidev9Avidev9
RestRequest Object has all the information that has posted/transmitted while invoking the REST webservices using the HTTP methods.

They are basically important for REST Webservices and generally carries the data and URL params