Closed serras closed 10 months ago
We already had some feature request for url-query-parameters: https://github.com/jwstegemann/fritz2/issues/757
I have some doubts, whether this will really pay off, as there are so many cornercases with those parameters. Do you think we can document that in such a way, that the use cases and the limitations become clear enough?
I think this should really be exposed, at least for GET
, because the workaround of adding it by hand is quite messy.
What I think makes this solution nice is that I piggy back on JavaScript's native URL encoding functions, so there should be fewer problems there.
queryParameters
function which encodes a map of strings into the right form,get
, since query parameters often appear in such requests.