public function create($client_id, $data) { return $this->apiClient->post()->addPath('resource-servers')->withHeader(new ContentType('application/json'))->withBody(json_encode($data))->call(); }