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
AashutoshAashutosh 

How to create restful web service in salesforce?

Hi,

 

  I want to create a restful web service in salesforce. Is it possible because i have check the options in setup(Trigger class), but not see any option for restful service.

 

Thanx

SuperfellSuperfell

This is not currently possible.

Force.comForce.com

Now it is possible to build such a webservice. You can take help from the following link:

https://github.com/cloudspokes/cloudspokes-dev-org/blob/master/src/classes/MemberRestSvc.cls

boBNunnyboBNunny

So I know authentication would be need so we would need to create a User for those accessing it outside the environment.  How would they provide that authentication in their calls though?  Would it be part of the Rest WSDL generated?