summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfox <[email protected]>2018-08-29 10:03:07 +0000
committerfox <[email protected]>2018-08-29 10:03:07 +0000
commit73a1f6be9cb04d89bc08aa3d65371541378f0590 (patch)
tree704781c734f09bd0145a1a01072ce1b13edb675c
parent20e513ac8bef9b84c63b9e028292db03671a7beb (diff)
Update page 'ApiReference'
-rw-r--r--ApiReference.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/ApiReference.md b/ApiReference.md
index 8d5c772..1a0b907 100644
--- a/ApiReference.md
+++ b/ApiReference.md
@@ -36,9 +36,9 @@ For boolean parameters the expected syntax is:
## Testing API calls (using curl)
```bash
-curl -d '{"op":"login","user":"you","password":"xxx"}' http://example.dom/tt-rss/api/
+curl -d '{"op":"login","user":"you","password":"xxx"}' http://example.com/tt-rss/api/
-curl -d '{"sid":"...","op":"getHeadlines","feed_id":"0","is_cat":"1"}'
+curl -d '{"sid":"...","op":"getHeadlines","feed_id":"0","is_cat":"1"}' http://example.com/tt-rss/api/
```
Most of the calls (except login, logout, isLoggedIn) require valid login