Activity › Forums › Salesforce® Discussions › How can you expose an Apex class as a REST WebService in Salesforce?

  • How can you expose an Apex class as a REST WebService in Salesforce?

    Posted by Laveena on September 25, 2019 at 7:34 AM

    How can you expose an Apex class as a REST WebService in Salesforce?

    Nikita replied 7 years ago 2 Members · 1 Reply
  • 1 Reply
  • Nikita

    Member
    September 25, 2019 at 7:58 AM

    Hi Laveena,

    Apex class and methods can be exposed for external applications access and your application through the REST architecture. Use @RestResource annotation with Apex class to expose it as a REST resource.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates

Video in

Learn most important Salesforce Interview Questions and Answers, asked at every interview. These Interview questions will be useful to all entry-level candidates, beginners, interns, and…