Back to Browsershot

Sending POST requests

docs/miscellaneous-options/sending-post-requests.md

5.3.0286 B
Original Source

By default, all requests sent using GET method. You can make POST request to the given url by using the post method. Note: POST request sent using application/x-www-form-urlencoded content type.

php
Browsershot::url('https://example.com')
    ->post(['foo' => 'bar'])
   ...