protected function RESTServer::getRequestMethod in Services 7.3
Determine the request method
2 calls to RESTServer::getRequestMethod()
- RESTServer::parseRequestBody in servers/
rest_server/ includes/ RESTServer.inc - Parse request body based on $_SERVER['CONTENT_TYPE'].s
- RESTServer::resolveController in servers/
rest_server/ includes/ RESTServer.inc - Determine controller.
File
- servers/
rest_server/ includes/ RESTServer.inc, line 247 - Class for handling REST calls.
Class
- RESTServer
- @file Class for handling REST calls.
Code
protected function getRequestMethod() {
return $this->context
->getRequestMethod();
}