src/OrgManager.php
protected function post($resource, array $rawdata = [])
    {
        $data['headers'] = ['Authorization' => 'Bearer '.$this->apiToken, 'User-Agent' => 'php-orgmanager-api'];
        $data['json'] = $rawdata;
        $results = $this->client
            ->post("{$this->baseUrl}{$resource}", $data)
            ->getBody()
            ->getContents();

        return json_decode($results, true);
    }
protected function post($resource, array $rawdata = [])
    {
        $data['headers'] = ['Authorization' => 'Bearer '.$this->apiToken, 'User-Agent' => 'php-orgmanager-api'];
        $data['json'] = $rawdata;
        $results = $this->client
            ->post("{$this->baseUrl}{$resource}", $data)
            ->getBody()
            ->getContents();

        return json_decode($results, true);
    }
@param string $resource
@param array  $rawdata

@return array