summaryrefslogtreecommitdiff
path: root/eg/apitest.json
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-09-13 13:31:56 +0200
committerfranck cuny <franck@lumberjaph.net>2010-09-13 13:31:56 +0200
commit3e3dc478fc9b4eb90681df89156dfcc8f7f81481 (patch)
treeb9788b0d48f524bc4c0aeeb48c744a8f7b097910 /eg/apitest.json
downloadnet-http-spore-3e3dc478fc9b4eb90681df89156dfcc8f7f81481.tar.gz
initial import
Diffstat (limited to 'eg/apitest.json')
-rw-r--r--eg/apitest.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/eg/apitest.json b/eg/apitest.json
new file mode 100644
index 0000000..8c26bae
--- /dev/null
+++ b/eg/apitest.json
@@ -0,0 +1,13 @@
+{
+ "methods" : {
+ "new_user" : {
+ "path" : "/user/",
+ "method" : "POST"
+ }
+ },
+ "declare" : {
+ "api_base_url" : "http://localhost:5000",
+ "api_format_mode" : "content-type",
+ "api_format" : "json"
+ }
+}