Web Connection
How to retrieve XML-data from client
Hello together,
i send in a REST API application from client to server JSON-data with
goHttp.cContentType = 'application/json'
lcReturn = goHttp.POST( gcURL + 'DeleteData.wc', lcJSONParameter )
on the server i get a parameter-object
FUNCTION GetData( loParameter AS OBJECT )
with the JSON-data.
Now i want to send XML-data
goHttp.cContentType = 'application/xml'
lcReturn = goHttp.POST( gcURL + 'SendData.wc', lcXML )
on the server i want to read the xml-data
FUNCTION SendData( loParameter AS OBJECT )
loParameter is .F.
How can I read the sended XML-data in my Server-Function?