Created
December 21, 2009 10:26
-
-
Save davidsmalley/260893 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -verbose -u xxx:xxx -H "Accept: application/xml" -H "Content-Type:application/xml" -d '<?xml version="1.0" encoding="UTF-8"?> | |
> <test_set> | |
> <applications type="array"> | |
> <application> | |
> <code>saf2</code> | |
> </application> | |
> <application> | |
> <code>ie7</code> | |
> </application> | |
> <application> | |
> <code>ie6</code> | |
> </application> | |
> </applications> | |
> <url>http://google.com</url> | |
> <save_defaults>false</save_defaults> | |
> <use_defaults>false</use_defaults> | |
> </test_set>' http://xxx.litmusapp.com/pages.xml | |
< HTTP/1.1 201 Created | |
< Content-Type: application/xml; charset=utf-8 | |
< Connection: keep-alive | |
< Status: 201 | |
< X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.4 | |
< Location: http://xxx.litmusapp.com/tests/503540.xml | |
< X-Runtime: 688 | |
< Cache-Control: no-cache | |
< Content-Length: 4245 | |
< Server: nginx/0.7.62 + Phusion Passenger 2.2.4 (mod_rails/mod_rack) | |
< | |
<?xml version="1.0" encoding="UTF-8"?> | |
<test_set> | |
<created_at type="datetime">2009-12-21T10:23:20Z</created_at> | |
<id type="integer">503540</id> | |
<updated_at type="datetime">2009-12-21T10:23:21Z</updated_at> | |
<name>Google</name> | |
<service>page</service> | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment