the mime type seems correct, all params are being sent. I do not have problems
getting the body, only request:parameter-names() does not give any values.
(request:header works, for example)
-Ursprüngliche Nachricht-
Von: Marco Lettere
Gesendet: Mittwoch, 22. April 2020 15:31
An:
Thanks for the hint Marco,
I just tried request:parameter-names(): that one works with GET but with POST I
get an empty-sequence, I am not sure what the problem is here.
I can access the full (unparsed) body, though (I can use that).
Daniel
-Ursprüngliche Nachricht-
Von: Marco Lettere
Hi Daniel,
RTFM. Simply pass the body in %rest:POST("{$body}").
Sorry for disturbing!
Daniel
-Ursprüngliche Nachricht-
Von: Zimmel, Daniel
Gesendet: Mittwoch, 22. April 2020 11:27
An: BaseX
Betreff: [basex-talk] A question about RESTXQ rest:form-param()
Hi,
in an HTML form with a
Hi,
in an HTML form with a RESTXQ POST action, do I really have to declare
%rest:form-param() for every param, or is there a way to pass the full query
component in one parameter?
Best, Daniel
4 matches
Mail list logo