From b65ff66a3751f54e21b4bccfbf38806f6cddd54e Mon Sep 17 00:00:00 2001 From: David Shepherd Date: Sat, 6 May 2017 13:39:38 +0100 Subject: [PATCH] Add a simple curl example --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 046b089..d8ef2fa 100644 --- a/README.md +++ b/README.md @@ -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 ### The following actions are currently supported.