I need to create a REST (or REST-like) API for my SF application. After reading https://salesforce.stackexchange.com/a/19058/3382, my thought was to simply use the @RestResource annotated classes because I'd like to not recreate what SF provides out-of-the-box.
However, due to my sharing model, I cannot allow access to the standard SF REST API which is a byproduct of using the annotated classes.
I'm thinking I could come close to creating the REST-like service but I need to know the appropriate HTTP verb (GET, POST, PUT, DELETE) used for the request. But I can't figure out what the verb is in my Apex controller.
ApexPages.currentPage().getHeaders() doesn't contain the verb and
ApexPages.currentPage().getHeaders() is just a combined map of post and url parameters.
Have I hit the end of the road with this approach? Am I restricted to just create a JSON based API using only GETs and POSTs?