Skip to main content
2 of 2
edited tags
pchittum
  • 19.9k
  • 5
  • 61
  • 104

Read GET/POST parameters in apex class when service is called from external client

I am new to salesforce. I created an apex class and exposed it as a Rest service. I want to post some parameters to that service from an external client(not vf page). One way is I append it to the url something like myservice/functionName/parameter1/parameter2. But I want to send them as GET/POST parameters. Does anyone know how to read those parameters in the apex class?

Harshit
  • 31
  • 1
  • 1
  • 2