Add api example with curl
This commit is contained in:
parent
5d78960212
commit
94a0f4427d
7
examples/api_client.sh
Executable file
7
examples/api_client.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
curl \
|
||||||
|
-u "demo:/EobxWLMrb+VO8G" \
|
||||||
|
-d '{"jsonrpc": "2.0", "method": "feed.create", "params": {"url": "http://images.apple.com/main/rss/hotnews/hotnews.rss"}, "id": 1}' \
|
||||||
|
https://miniflux.net/demo/jsonrpc.php
|
||||||
|
|
Loading…
Reference in New Issue
Block a user