B4J Question WebServer Read Post value

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

I am using the server lib and have the webserver working etc.

I have a handler and got it to log the page the user requested..

B4X:
Log(req.RequestURI) ' logs  /upnp/control/basicevent1

So far so good..

However, the full request should look something like the following.. (This is what I have been told it should look like)


I am trying to work out how to read the BinaryState value from the request.

I seem to be able to log the host, method etc, but can't work out how to get to the <?xml section in the request.

I am guessing this is called the body of the request?

Anyone know how to read the BinaryState value from this request as it's sent to my server ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…