You are here

public function RestfulBase::get in RESTful 7

Call resource using the GET http method.

Parameters

string $path: (optional) The path.

array $request: (optional) The request.

Return value

mixed The return value can depend on the controller for the get method.

File

plugins/restful/RestfulBase.php, line 632
Contains RestfulBase.

Class

RestfulBase
Class \RestfulBase

Code

public function get($path = '', array $request = array()) {
  return $this
    ->process($path, $request, \RestfulInterface::GET);
}