help with POST with XML data
Status: Alpha
Brought to you by:
coroberti
From: Chirag P. <pat...@ya...> - 2008-07-20 22:53:31
|
Before I tried curl-loader, I wanted to make sure I could use my normal cURL switches (like the example below). Could someone send me an example of how to run the below cURL command with curl-loader? Thanks! chirag curl -v -H "Content-Type: text/xml" -d "<battery_unplugged><device_id>2</device_id><percentage>23</percentage><timestamp>Mon Dec 25 15:52:55 -0600 2007</timestamp><time_remaining>231</time_remaining><user_id>1</user_id></battery_unplugged>" "http://localhost:3000/battery_unpluggeds?gateway_id=1&auth=9ad3cad0f0e130653ec377a47289eaf7f22f83edb81e406c7bd7919ea725e024 |