I am sending an XML SOAP request through the curl in PHP.
Is there a way to view the entire request, including the header before sending it (print_r / var_dump)?
see Look for PHP for options. CURLOPT_VERBOSE . But I do not think that until the request is complete, you will be able to get anything from it.
curl_setopt ($ curl, CURLOPT_VERBOSE, true);
Comments
Post a Comment