protected function makeApiRequest(string
$path,
[array
$options = ] )
Parameters
$path
—
string
the request path; can consist of resource name, identifier and GET params
$options
—
array
* string `body` the data * int `code` the expected response code * string `method` the http method * ApiSession `session` the test session * string `token` the auth token * array `postVars` the post data, eg. multi form or files