You need to sign in to do that
Don't have an account?
agrassi
How do I know the page request HTTP method?
Hello all!
I'd like to expose some of our org's functionality through a custom REST API. It would be a set of VF pages published in a Force.com site. Those pages would return JSON encoded data.
My question is: how do I know the method used to request the VF page, from inside its Apex controller? I.e., was it a GET, POST, DELETE, etc?
Thanks in advance,
Antonio