public function post($resourcePath, $data)
    {
        $endpointUrl = $this->configuration->get('endpointUrl');

        $request = $this->client->createRequest(
            'POST',
            $endpointUrl.'/'.$resourcePath,
            [
                'json' => $data
            ]
        );

        return $this->send($request);
    }