diff options
Diffstat (limited to 'test.http')
-rw-r--r-- | test.http | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/test.http b/test.http deleted file mode 100644 index e61e3db..0000000 --- a/test.http +++ /dev/null @@ -1,38 +0,0 @@ -# -*- restclient -*- -# -# see https://github.com/pashky/restclient.el - -:host := "http://127.0.0.1:3000" -:headers = << -Accept: application/json -User-Agent: Emacs -# - -# Initialize the database with exmaple data -POST :host/bootstrap -:headers - -# should return 20 entries -GET :host/query -:headers - -# get the total number of records -GET :host/count -:headers - -# store jenny's number -POST :host/number -:headers -{ - "name": "Jenny", - "number": "8675309", - "context": "Number on the wall" -} - -# get jenny's number -GET :host/query?number=8675309 -:headers - -# get Nowlin Saul's zendesk number -GET :host/query?number=%2B13058224036 -:headers |