From c35ed68759946c3ec1674768060d6b7e8a41c095 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Tue, 5 Nov 2024 00:21:36 +0530 Subject: [PATCH] Fix quotes in JSON API req example in docs. --- docs/docs/content/apis/subscribers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/content/apis/subscribers.md b/docs/docs/content/apis/subscribers.md index d62dd409..70748355 100644 --- a/docs/docs/content/apis/subscribers.md +++ b/docs/docs/content/apis/subscribers.md @@ -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