Here is my xml request below
curl -H "text/xml" -d 'apikey=118&xml=<company_request><transaction>set_survey_response_list</transaction><email><![CDATA[email@gmail.com]]></email><password>password</password><data>
<survey_response_list>
<company_email><![CDATA[email@gmail.com]]></company_email>
<survey_response>
<question_id></question_id>
<question_text><![CDATA[First Name]]>
</question_text>
<answer_id_list></answer_id_list>
<answer_text_list><![CDATA[red & blue]]>
</answer_text_list>
<other_text></other_text>
</survey_response>
</survey_response_list></data></company_request>' http://localhost/company/remote_call/
I am getting this when I do a dump of the posted data in codgeigniter
var_dump($this->input->post('xml')); die();
string(554) "<company_request><transaction>set_survey_response_list</transaction><email><![CDATA[email@gmail.com]]></email><password>password</password><data>
<survey_response_list>
<company_email><![CDATA[email@gmail.com]]></company_email>
<survey_response>
<question_id></question_id>
<question_text><![CDATA[First Name]]>
</question_text>
<answer_id_list></answer_id_list>
<answer_text_list><![CDATA[red "