Hi all,
I am trying to run a workspace on FME Server (2019) through the Data Download service. This generally works fine in terms of authorization etc. I can successfully pass parameters (and directives) to it as a query string. However, one of the parameters is geometry, currently encoded as OGC Well-Known Text. The input for this parameter can become quite large, as the geometry will be passed to FME Server from a web map. When this happens, the URL exceeds tens of thousands of characters and this seems to break the request.
Because of this, I am trying to pass the request as POST, keeping all parameters in the body and thus the URL nice and short. However I can't get this to work - the parameters in the body are ignored and the workspace is run with the default parameters every time.
The FME Server Data Download logfile has this line every time:
POST request received. Redirecting to GET method.
Is it possible at all to use POST to start the Data Download service? If so, how do I pass parameters this way? If not, what is the suggested method to pass geometry to FME Server in such a way that I don't run into the size restriction?
I am passing a header as well, containing the token in Authorization, and 'application/json' in Accept and in Content-Type.