How to simulate browser form POST method using PHP/cURL
- by user283266
I'm trying to simulate browser with POST method using PHP/cURL.
When I looked at that live Http header it shows Content-Type: multipart/form-data.
I checked on the internet where it was suggested that cURL will send multipart/form-data when a custom headers is specified to Content-Type: multipart/form-data.
$headers = array(
'Content-Type'…