Add a simple curl example
This commit is contained in:
parent
67bc56872f
commit
b65ff66a37
@ -74,6 +74,12 @@ ankiInvoke('version').then(response => {
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or using [`curl`](https://curl.haxx.se):
|
||||||
|
|
||||||
|
```
|
||||||
|
curl localhost:8765 -X POST -d '{"action": "version", "params": {}}'
|
||||||
|
```
|
||||||
|
|
||||||
### Supported Actions ###
|
### Supported Actions ###
|
||||||
|
|
||||||
The following actions are currently supported.
|
The following actions are currently supported.
|
||||||
|
Loading…
Reference in New Issue
Block a user