Hello,
Can some one help with …
What the best way to do a http post request with xml content to a server, and have the possibility to add specific post headers ?
In Servoy 3.5
Thank you !
Hello,
Can some one help with …
What the best way to do a http post request with xml content to a server, and have the possibility to add specific post headers ?
In Servoy 3.5
Thank you !
Hi,
Take a look at the http plugin in Servoy. It can do http posts.
I am not sure about the custom headers though.
ROCLASI:
Hi,Take a look at the http plugin in Servoy. It can do http posts.
I am not sure about the custom headers though.
Thank you, I have tried http plugin of course, but I need to make the post request with a custom header …
In Servoy 5.1 you will be able to specify a custom header with the post request (and also the xml). I guess you need something like this:
poster.addFile(null,'postXml.xml','c:/temp/postXml.xml') // sets the xml to post
poster.addHeader('Content-type','text/xml; charset=ISO-8859-1')