hurl/integration/tests_ok/post_xml.json

2 lines
23 KiB
JSON
Raw Normal View History

{"entries":[{"request":{"method":"POST","url":"http://localhost:8000/post-xml","body":{"type":"xml","value":"<?xml version=\"1.0\"?>\n<drink>café</drink>"}},"response":{"status":200}},{"request":{"method":"POST","url":"http://localhost:8000/post-xml-no-prolog","body":{"type":"xml","value":"<drink>café</drink>"}},"response":{"status":200}},{"request":{"method":"POST","url":"http://localhost:8000/post-xml-large","body":{"type":"xml","value":"<?xml version='1.0' ?>\n<root>\n <listing>\n <seller_info>\n <seller_name></seller_name>\n <seller_rating></seller_rating>\n </seller_info>\n <payment_types>\n </payment_types>\n <shipping_info>\n </shipping_info>\n <buyer_protection_info>\n </buyer_protection_info>\n <auction_info>\n <current_bid></current_bid>\n <time_left></time_left>\n <high_bidder>\n <bidder_name>MH of San Francisco,</bidder_name>\n <bidder_rating></bidder_rating>\n </high_bidder>\n <num_items>\n 8\n </num_items>\n <num_bids></num_bids>\n <started_at>$9</started_at>\n <bid_increment>$10</bid_increment>\n <location></location>\n <opened></opened>\n <closed>Mon Nov 27, 2:00 pm PT</closed>\n <id_num>\n 3699803\n </id_num>\n <notes></notes>\n </auction_info>\n <bid_history>\n <highest_bid_amount>\n $2459\n </highest_bid_amount>\n <quantity>1</quantity>\n </bid_history>\n <item_info>\n <memory></memory>\n <hard_drive></hard_drive>\n <cpu>\n 900MHz\n </cpu>\n <brand>HP Pavilion</brand>\n <description>The Pavilion 9780C gives you\n everything you need in a home\n PC, from the exhilarating\n multimedia experience of DVD to\n the customized music-making\n abilities of the HP CD-Writer\n Plus - it's all in a hot\n translucent blue case! Monitor\n not included.\n\n\n </description>\n </item_info>\n </listing>\n\n <listing>\n <seller_info>\n <seller_name></seller_name>\n <seller_rating></seller_rating>\n </seller_info>\n <payment_types>\n </payment_types>\n <shipping_info>\n </shipping_info>\n <buyer_protection_info>\n </buyer_protection_info>\n <auction_info>\n <current_bid></current_bid>\n <time_left></time_left>\n <high_bidder>\n <bidder_name></bidder_name>\n <bidder_rating></bidder_rating>\n </high_bidder>\n <num_items></num_items>\n <num_bids></num_bids>\n <started_at></started_at>\n <bid_increment></bid_increment>\n <location></location>\n <opened></opened>\n <closed></closed>\n <id_num></id_num>\n <notes></notes>\n </auction_info>\n <bid_history>\n <highest_bid_amount>\n </highest_bid_amount>\n <quantity></quantity>\n </bid_history>\n <item_info>\n <memory></memory>\n <hard_drive></hard_drive>\n <cpu></cpu>\n <brand></brand>\n <description>\n </description>\n </item_info>\n </listing>\n\n <listing>\n <seller_info>\n <seller_name></seller_name>\n <seller_rating></seller_rating>\n </seller_info>\n <payment_types>\n </payment_types>\n <shipping_info>\n </shipping_info>\n <buyer_protection_info>\n </buyer_protection_info>\n <auction_info>\n <current_bid></current_bid>\n <time_left></time_left>\n <high_bidder>\n