Updating README.md

This commit is contained in:
Alex Yatskov 2017-10-08 14:34:17 -07:00
parent 6aa40a698f
commit 9ddb7eb19a

View File

@ -114,7 +114,7 @@ try {
Or using [`curl`](https://curl.haxx.se) from the command line:
```bash
curl localhost:8765 -X POST -d '{"action": "deckNames", "version": 5}'
curl localhost:8765 -X POST -d "{\"action\": \"deckNames\", \"version\": 5}"
```
AnkiConnect will respond with an object containing two fields: `result` and `error`. The `result` field contains the