From d1c3bde3722290ca4c1b420f2b9960df24c604ec Mon Sep 17 00:00:00 2001 From: franck cuny Date: Mon, 1 Nov 2010 17:03:42 +0100 Subject: add new methods to implement headers and form-data --- t/specs/api.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/t/specs/api.json b/t/specs/api.json index 42e3c25..a89d147 100644 --- a/t/specs/api.json +++ b/t/specs/api.json @@ -19,6 +19,23 @@ ], "path" : "/show", "method" : "GET" + }, + "add_email" : { + "path" : "/email", + "method" : "POST", + "form-data" : { + "email" : ":email" + }, + "required_params" : [ + "email" + ] + }, + "attach_file" : { + "path":"/file", + "method":"POST", + "headers": { + "content-type":":content_type" } + } } } -- cgit 1.4.1