Hi All,
I am using restxq. I wrote a function which takes one variable (this should be a chunk of text, not a single word). The output is xml.
I can have the function work if I pass the content of the variable with
curl -X POST --data "variable=my text is long" http://address
How can I get the same result of the curl command with an xquery function?
More in general, is this a good way to write a function in restxq when the variable is not a single word but the content of a file? (I am not even sure if a file can be passed as such in restxq)
Thanks, Joseph