2023-01-06, 09:59:07
Hi Wila,
Sending xml content ,
.NavigateWithWebResourceRequest() WORK FOR THIS.
myUri = 'https://webserviceapl. ...'
myVar = '<?xml version="1.0" encoding="UTF-8"?> ... '
.ACTIVEX1.nativeobject.NavigateWithWebResourceRequest( myUri, 'POST', myVar , 'Content-Type: application/xml' )
also can perform
.ACTIVEX1.nativeobject.NavigateWithWebResourceRequest( myUri2, 'GET', null , null )
Please, as we have NavigateSync method we can also have NavigateWithWebResourceRequestSync method, which would simplify the program a lot.
Now I use the OnNavigationCompleted event along with a timer object, to get the response (content, JSON) from the web server.
Thank you
Vasile
Sending xml content ,
.NavigateWithWebResourceRequest() WORK FOR THIS.
myUri = 'https://webserviceapl. ...'
myVar = '<?xml version="1.0" encoding="UTF-8"?> ... '
.ACTIVEX1.nativeobject.NavigateWithWebResourceRequest( myUri, 'POST', myVar , 'Content-Type: application/xml' )
also can perform
.ACTIVEX1.nativeobject.NavigateWithWebResourceRequest( myUri2, 'GET', null , null )
Please, as we have NavigateSync method we can also have NavigateWithWebResourceRequestSync method, which would simplify the program a lot.
Now I use the OnNavigationCompleted event along with a timer object, to get the response (content, JSON) from the web server.
Thank you
Vasile