From 1f812ab812fe835d30ccddbbfb10917335fc4882 Mon Sep 17 00:00:00 2001 From: defanor Date: Wed, 13 Feb 2019 07:29:31 +0300 Subject: Update the "Querying" README.md section --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6138ee5..d0ee97e 100644 --- a/README.md +++ b/README.md @@ -49,10 +49,12 @@ parameter, with added `xsl` extension. SQL queries provided in the `q` URL query parameter get executed, with some substitutions to handle HTML forms: -- `f:` for POST parameters -- `q:` for GET parameters -- `:fields` for POST parameter names -- `:values` for POST parameter values (in the same order as the names) +- `f:` for "POST" (serialised form data in message body) + parameters +- `q:` for "GET" (serialised form data in URI query) parameters +- `:fields` for "POST" parameter names +- `:values` for "POST" parameter values (in the same order as the + names) `:fields` and `:values` are unnecessary, but are provided for convenience of insert/upsert operations. @@ -60,6 +62,9 @@ convenience of insert/upsert operations. SQL queries get tokenized by splitting into words and reassembled afterwards, hence some whitespace separation is needed. +HTTP methods (and corresponding conventions) are currently ignored, +since they are of little use with HTML 5 forms. + ### Authentication Presence of `auth=on` in the URL query requires HTTP basic -- cgit v1.2.3