I have a Server Object Extension for ArcGIS Server 10.0, that implements IRESTRequestHandler. The extension contains many individual RestOperations. By default each RestOperation supports HTTP GETs when using the extension. In the RestOperation constructor, there is a parameter called postOnly, which is a boolean. If I set postOnly = true, then the endpoint will only support HTTP POSTs, and will throw an exception if you attempt to use a GET. I would like to create an endpoint that supports both GET and POST. If you interrogate some of the supported methods on a standard MapService like Find and Identify, you will notice these support both GET and POST:
Does anyone know of a way to implement this on a custom Server Object Extension?