Laravel\Lumen\Testing\Concerns\MakesHttpRequests::post PHP Method

post() public method

Visit the given URI with a POST request.
public post ( string $uri, array $data = [], array $headers = [] )
$uri string
$data array
$headers array
    public function post($uri, array $data = [], array $headers = [])
    {
        $server = $this->transformHeadersToServerVars($headers);
        $this->call('POST', $uri, $data, [], [], $server);
        return $this;
    }