File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -54,22 +54,8 @@ Generates the endpoints (or a whole app) from a mapping (SQL query -> URL)
5454
55551 . Test that it works
5656 ``` console
57- $ curl -i http://localhost:3000/v1/categories/count
58- HTTP/1.1 200 OK
59- Content-Type: application/json; charset=utf-8
60- Content-Length: 1
61- ETag: W/"1-d95o2uzYI7q7tY7bHI4U1xBug7s"
62- Date: Sun, 12 Jul 2020 17:01:25 GMT
63- Connection: keep-alive
64-
57+ $ curl http://localhost:3000/v1/categories/count
6558 3
66- $ curl -i http://localhost:3000/v1/collections/1/categories/count
67- HTTP/1.1 200 OK
68- Content-Type: application/json; charset=utf-8
69- Content-Length: 1
70- ETag: W/"1-NWoZK3kTsExUV00Ywo1G5jlUKKs"
71- Date: Sun, 12 Jul 2020 17:01:26 GMT
72- Connection: keep-alive
73-
59+ $ curl http://localhost:3000/v1/collections/1/categories/count
7460 1
7561 ```
You can’t perform that action at this time.
0 commit comments