miniflux-legacy/scripts/api-client.sh

8 lines
217 B
Bash
Raw Normal View History

2013-08-17 17:45:47 +02:00
#!/bin/sh
curl \
2014-02-08 20:13:14 +01:00
-u "admin:UkL1sN2xACNsySQ" \
2013-08-17 17:45:47 +02:00
-d '{"jsonrpc": "2.0", "method": "feed.create", "params": {"url": "http://images.apple.com/main/rss/hotnews/hotnews.rss"}, "id": 1}' \
2014-02-08 20:13:14 +01:00
http://127.0.0.1:8000/jsonrpc.php
2013-08-17 17:45:47 +02:00