miniflux-legacy/examples/api_client.sh

8 lines
220 B
Bash
Raw Normal View History

2013-08-17 17:45:47 +02:00
#!/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