diff options
Diffstat (limited to 'sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test')
3 files changed, 31 insertions, 0 deletions
diff --git a/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-request.txt b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-request.txt new file mode 100644 index 0000000000..09a7f8377b --- /dev/null +++ b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-request.txt @@ -0,0 +1,6 @@ +{ + "id": 1, + "method": "items", + "params": [ + ] +} diff --git a/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-result.txt b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-result.txt new file mode 100644 index 0000000000..0b456ea9d0 --- /dev/null +++ b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-result.txt @@ -0,0 +1,23 @@ +{ + "id": 1, + "result": [ + { + "name": "Apple", + "currencyCode": "USD", + "currencySymbol": "$", + "price": 2.99 + }, + { + "name": "Orange", + "currencyCode": "USD", + "currencySymbol": "$", + "price": 3.55 + }, + { + "name": "Pear", + "currencyCode": "USD", + "currencySymbol": "$", + "price": 1.55 + } + ] +}
\ No newline at end of file diff --git a/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/shopping-cart-entry.xml b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/shopping-cart-entry.xml new file mode 100644 index 0000000000..0d6e5b520a --- /dev/null +++ b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/shopping-cart-entry.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<entry xmlns="http://www.w3.org/2005/Atom"><title type="text">Item</title><content type="application/xml"><item><name>Orange</name><currencyCode>USD</currencyCode><currencySymbol>$</currencySymbol><price>3.55</price></item></content></entry> |