In Apex RestResource What is the correct format for urlMapping when you want to pass in multiple parameters in a GET request? So I need to pass in accountId and serviceId as filters to GET.
@RestResource(urlMapping='/Revenues/accountId={acctId}&serviceId={svcId}');
OR
@RestResource(urlMapping='/Revenues/accountId/*/serviceId/*');
I am confused. I tried to use the first one and then get the parameterss using request.params.get('accountId'); but just get NULL.