Test

Allows you to test your service calls when you're just getting started.

Methods

GET

 GET /api/_test

PUT

 PUT /api/_test

POST

 POST /api/_test

DELETE

 DELETE /api/_test

Parameters

You can pass all kinds of things to the test. You can test an upload:

 curl -X POST -F file=@file.jpg https://tabletop.events/api/_test

Or any parameters you wish:

 curl https://tabletop.events/api/_test?foo=bar

Or extend the URL path:

 curl https://tabletop.events/api/_test/this/custom/path

Results

The result you get back will help you discover whether things went according to plan. Here's an example:

 GET /api/_test/me?foo=bar

 {
   "result" : {
      "params" : {
         "foo" : "bar"
      },
      "method" : "GET",
      "path" : "/api/_test/me"
   }
 }