curl_setopt( $request, CURLOPT_POSTFIELDS, array( 'blob[0]' => '@' . realpath('file-1.jpg'), 'blob[1]' => '@' . realpath('file-2.jpg') ) ));