Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

docs: README - add code highlighting #152

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Example URLs:
```

Usage:
```
```ts
http.post('commands/resetdb', undefined);
http.get('commands/config');
http.post('commands/config', '{"delay":1000}');
Expand All @@ -298,7 +298,7 @@ calls your `InMemoryDbService` data service's [`createDb` method](#createDb) wi
enabling the `createDb` logic to adjust its behavior per the client request.

In the following example, the client includes a reset option in the command request body:
```
```ts
http
// Reset the database collections with the `clear` option
.post('commands/resetDb', { clear: true }))
Expand Down