cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

curl and xml problem

From: Michael Horowitz <michael_at_yourcomputerconsultant.com>
Date: Tue, 18 Mar 2008 10:35:52 -0400

Here is what is being received by the server with my problem of sending
xml using curl.

array(1) {
  ["<?xml_version"]=>
  string(972) "\"1.0\"?>
<REQUEST_GROUP MISMOVersionID=\"2.1\">
  <REQUEST LoginAccountIdentifier=\"testuser\"
LoginAccountPassword=\"Password\">
    <KEY _NAME=\"MemberID\" _Value=\"100\"/>
    <REQUEST_DATA>
      <CREDIT_REQUEST MISMOVersionID=\"2.1\">
        <CREDIT_REQUEST_DATA CreditRequestID=\"CRReq0001\"
BorrowerID=\"BorRec0001\" CreditReportRequestActionType=\"Submit\"
CreditReportType=\"Consumer\" CreditRequestType=\"Individual\">
          <CREDIT_REPOSITORY_INCLUDED _EquifaxIndicator=\"N\"
_ExperianIndicator=\"Y\" _TransUnionIndicator=\"N\"/>
        </CREDIT_REQUEST_DATA>
        <LOAN_APPLICATION>
          <BORROWER BorrowerID=\"BorRec0001\" _FirstName=\"EVPAULA\"
_MiddleName=\"\" _LastName=\"Consumer\" _SSN=\"376988419\">
            <_RESIDENCE _StreetAddress=\"10655 Birch St\"
_City=\"Burbank\" _State=\"Ca\" _PostalCode=\"20906\"/>
          </BORROWER>
        </LOAN_APPLICATION>
      </CREDIT_REQUEST>
    </REQUEST_DATA>
  </REQUEST>
</REQUEST_GROUP>
"
}

I think it needs to come in as a string and not an array. Am I correct
in thinking that?

Thanks for any help people can give me

-- 
Michael Horowitz
Your Computer Consultant
http://yourcomputerconsultant.com
561-394-9079
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-03-18