Displaying 1 result from an estimated 1 matches for "mobile_phone".
2008 Jan 20
0
Deserialize JSON post body
I''m doing an HTTP post to my controller with an xml request body:
curl -u 53b2c:X -H "Content-Type: text/xml" -v -d
"<subscriber><full_name>Alex Egg</full_name><carrier_id>2</
carrier_id><mobile_phone>1234321843</mobile_phone><password>asdf</
password><sub_categories type=\"array\"><sub_category>1</
sub_category><sub_category>2</sub_category></sub_categories></
subscriber>" http://localhost:3000/subscribers/helper.xml...