I'm writing a webservice from Salesforce that I can call from an external system, but for my life I cannot remember/find how to successfully call it. I am using a website in order to test the dummy service I created: http://resttesttest.com/
Code:
@RestResource
global with sharing class MyServices
{
global static String createCase(String pCode, String rType, String subject, String description, String lookupInfo, String aaNum)
{
return 'success';
}
}
What is the minimum info I must put into my call to make this work, or am I going about this completely wrong?
EDIT: I added @RestResource and set up a connected App in my Salesforce org now.