You are here

public function RestfulBase::post in RESTful 7

Call resource using the POST 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 post method.

File

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

Class

RestfulBase
Class \RestfulBase

Code

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