Hi Jelmer,

I think you'd have to use mapscript.msIO_installStdinFromBuffer to read data in.
See https://mapserver.org/development/rfc/ms-rfc-16.html#io-hooking although 
I'm not sure if the approach works or was fully implemented.
Let us know how you get on,

Seth

--
web:http://geographika.co.uk
twitter: @geographika


On Thu, May 27, 2021, at 10:39 AM, Jelmer Baas wrote:
> Hello,

>  

> For a new project, I’ve decided to pickup MapScript again to function as an 
> internal (back-end) WFS server. I use the OWSRequest class, which works fine 
> when I fill it with loadParamsFromURL() – in the case of Get requests.

>  

> I can’t seem to figure out a way to get my POST data into this object, 
> though. It has a loadParams method, but because I’m not running as a CGI 
> application (back-end app without a webserver), this doesn’t do anything. I 
> also tried setting postrequest property and then calling the loadParams, 
> setting Environment variables, etc. No error, no exception, just -1 value 
> from NumParams.

>  

> Any suggestions on how to proceed?

>  

> Regards,

> Jelmer Baas

>                

>  

> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org <mailto:mapserver-users%40lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to