You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/realm.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ The capabilites of the realm are:
16
16
17
17
The entry point that serves these requests `handle` function in `realm.ts` file. Depending on the `Accept` header (the recognized ones are `application/vnd.card+json`, `application/vnd.card+source`, `application/vnd.api+json`, `text/event-stream`, `text/html`) and the HTTP verb (`GET`, `PATCH`, `POST`, `DELETE` ), it will perform one of the actions listed in the above list. The routing that depends on the MIME type and HTTP method is defined in `router.ts`. There's a special case of requesting the realm root (`/`) with `GET` and `application/vnd.card+json`. This looks for a card instance at `index.json` to return.
18
18
19
-
The different types of requests, together with its params, are documented in `realm-server-test.ts`.
19
+
The different types of requests, together with its params, are documented in `realm-endpoints-test.ts`.
0 commit comments