Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sending xml content in body paragraph
#3
Thumbs Up 
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
Reply


Messages In This Thread
Sending xml content in body paragraph - by Vasile - 2022-12-30, 11:48:19
RE: Sending xml content in body paragraph - by Vasile - 2023-01-06, 09:59:07

Forum Jump:


Users browsing this thread: 1 Guest(s)