summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-01-23 12:12:34 -0800
committerBen Sima <ben@bsima.me>2018-01-23 12:12:34 -0800
commit4a489e4bff211c424b1c93cfcff214c727d688ad (patch)
treeb7ebe561d0446d62e75ae5d024f1d07bf2f21a00
parentb5a72ec22c870b2ceab4409fe37ef04c6fc31cb5 (diff)
Update test cases
-rw-r--r--test.http14
1 files changed, 2 insertions, 12 deletions
diff --git a/test.http b/test.http
index c8bb3aa..e61e3db 100644
--- a/test.http
+++ b/test.http
@@ -8,10 +8,6 @@ Accept: application/json
User-Agent: Emacs
#
-:form = <<
-Content-Type: application/x-www-form-urlencoded
-#
-
# Initialize the database with exmaple data
POST :host/bootstrap
:headers
@@ -24,7 +20,6 @@ GET :host/query
GET :host/count
:headers
-
# store jenny's number
POST :host/number
:headers
@@ -34,15 +29,10 @@ POST :host/number
"context": "Number on the wall"
}
-# store Bob's number
-POST :host/number
-:headers
-{ "name": "Bob Barker", "number": "+1555678909", "context": "personal"}
-
# get jenny's number
GET :host/query?number=8675309
:headers
-# get bob's
-GET :host/query?number=%2B15556789090
+# get Nowlin Saul's zendesk number
+GET :host/query?number=%2B13058224036
:headers