From a22dc6089a38f330f7e0aaa26f0bc56ed1771b3e Mon Sep 17 00:00:00 2001 From: Olena Date: Tue, 10 Oct 2023 10:24:05 +0200 Subject: [PATCH] Update node.js/core-services.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: René Jeglinsky --- node.js/core-services.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.js/core-services.md b/node.js/core-services.md index c4b5afce5..69fa34932 100644 --- a/node.js/core-services.md +++ b/node.js/core-services.md @@ -1125,7 +1125,7 @@ srv.patch('/Books',...) --> srv.send('PATCH','/Books',...) srv.delete('/Books',...) --> srv.send('DELETE','/Books',...) ``` -Leading slash in the `path` argument results in the same behaviour as in `srv.send()`: `path` is sent to a service unmodified. Omitting the leading slash or passing a reflected entity definition instead, constructs *bound* [`cds.ql` query objects](cds-ql), equivalent to [CRUD-style API](#crud-style-api): +Leading slash in the `path` argument results in the same behaviour as in `srv.send()`: `path` is sent unmodified to a service. Omitting the leading slash, or passing a reflected entity definition instead, constructs *bound* [`cds.ql` query objects](cds-ql), equivalent to [CRUD-style API](#crud-style-api): ```js await srv.get(Books,201)