mirror of
https://github.com/anikeen-com/id.git
synced 2026-03-13 13:46:13 +00:00
19 lines
490 B
PHP
19 lines
490 B
PHP
<?php
|
|
|
|
namespace Anikeen\Id\ApiOperations;
|
|
|
|
use Anikeen\Id\Exceptions\RequestRequiresClientIdException;
|
|
use Anikeen\Id\Helpers\Paginator;
|
|
use Anikeen\Id\Result;
|
|
use GuzzleHttp\Exception\GuzzleException;
|
|
|
|
trait Post
|
|
{
|
|
/**
|
|
* Make a POST request to the API.
|
|
*
|
|
* @throws RequestRequiresClientIdException
|
|
* @throws GuzzleException
|
|
*/
|
|
abstract public function post(string $path, array $payload = [], array $parameters = [], Paginator $paginator = null): Result;
|
|
} |