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
pravin joshi 25pravin joshi 25 

how to write test class for rest api apex class @doPost

Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Pravin,

Please refer the below links to write a test class for rest API apex class. Hope it will be helpful.

Rahul Kumar