SimpleApi Request Instance

Simple SimpleApi Request Implementation.


Server Request

Implementation SimpleApi ServerRequest instance.

$request = new \Samy\SimpleApi\ServerRequest();

Client Request

Implementation SimpleApi ClientRequest instance.

$request = new \Samy\SimpleApi\ClientRequest();

sendRequest

Send request action.

$response = $request->sendRequest($method, $endpoint, $data);