summary refs log tree commit diff
path: root/t/specs
diff options
context:
space:
mode:
Diffstat (limited to 't/specs')
-rw-r--r--t/specs/api.json17
1 files changed, 17 insertions, 0 deletions
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"
         }
+      }
     }
 }