curl -F [email protected] in PHP
I use this cmd to successfully download result.csv curl.exe https://example.com/rest -u "xx:yy" -F [email protected] > result.csv I want to do this using PHP. But no avail... Help please. This is my PHP: $url = 'https://example.com/rest'; $xml = '<?xml version="1.0" encoding="UTF-8"…