SparkPost\ResourceBase::post PHP Method

post() public method

Sends post request to API at the set endpoint.
public post ( $payload = [], $headers = [] )
    public function post($payload = [], $headers = [])
    {
        return $this->request('POST', '', $payload, $headers);
    }