From bfb92f675fa5526d98c22a7e7c25ff46af4e1cda Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Mon, 16 Dec 2019 15:08:29 +0100 Subject: [PATCH] Queries --- documenten/techniek/designdecisions.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/documenten/techniek/designdecisions.md b/documenten/techniek/designdecisions.md index 842010b..26edc2f 100644 --- a/documenten/techniek/designdecisions.md +++ b/documenten/techniek/designdecisions.md @@ -14,4 +14,9 @@ We gebruiken NLX voor elke call waarbij vertrouwelijke gegevens worden opgevraag We hanteren semantic versioning. We hanteren https://docs.geostandaarden.nl/api/API-Strategie/#versioning als uitgangspunt voor versiebeheer - +Queries +------- +In several examples of the nl api strategie we see query parameters being attached to post requests. This is unusual in the sence that sending query strings along with a post is considered bad practice (because query parameters end up as part of an url and are therefore logged by servers). But it is technically possible folowing RFC 3986. The real pain is that in the NL api-stratgie the POST requests seems to be used to search, or in other words GET data. This is where compliance with HTTP (1.1) breaks. + +__solution__ +We do not implement a query endpoint on post requests.