mirror of
https://github.com/knadh/listmonk.git
synced 2024-11-13 02:55:04 +08:00
Fix quotes in JSON API req example in docs.
This commit is contained in:
parent
e182fb5660
commit
c35ed68759
1 changed files with 2 additions and 2 deletions
|
@ -507,7 +507,7 @@ Blocklist subscribers based on SQL expression.
|
|||
```shell
|
||||
curl -u curl -u 'api_username:access_token' -X POST 'http://localhost:9000/api/subscribers/query/blocklist' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{"query":"subscribers.name LIKE '\''John Doe'\'' AND subscribers.attribs->>'\''city'\'' = '\''Bengaluru'\''"}'
|
||||
--data-raw '{"query":"subscribers.name LIKE \'John Doe\' AND subscribers.attribs->>'\''city'\'' = '\''Bengaluru'\''"}'
|
||||
```
|
||||
|
||||
##### Example Response
|
||||
|
@ -615,7 +615,7 @@ Delete subscribers based on SQL expression.
|
|||
```shell
|
||||
curl -u curl -u 'api_username:access_token' -X POST 'http://localhost:9000/api/subscribers/query/delete' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{"query":"subscribers.name LIKE '\''John Doe'\'' AND subscribers.attribs->>'\''city'\'' = '\''Bengaluru'\''"}'
|
||||
--data-raw '{"query":"subscribers.name LIKE \'John Doe\' AND subscribers.attribs->>'\''city'\'' = '\''Bengaluru'\''"}'
|
||||
```
|
||||
|
||||
##### Example Response
|
||||
|
|
Loading…
Reference in a new issue