I need to send a cURL request containing a file to upload as well as a JSON string. I can get a properly formatted request when sending the JSON, but the file is throwing it off.
$curl_file_object = '@'.$tmp_name
$postData= array(
'JSON'=> json_encode($jsonParams),
$referen...
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.