[Gambas-devel] gb.net.curl questions
Ron
ron at ...572...
Mon Dec 7 14:14:07 CET 2009
2 things struck me when trying to use gb.net.curl a bit more advanced
than usual...
I'm missing methods/request types DELETE and PUT, libcurl supports
them... easy to implement?
I need to provide a custom Header, so I do:
hPost.URL = "MyURL"
hPost.TimeOut = 10
hPost.Async = TRUE
hPost.Headers = ["X-MyHeader: " & sMyHeaderContent]
hPost.Post("text/xml", sContent)
But it doesn't seem to work, the header is not recognized, am I doing
something wrong?
Gambas 2.18.0
gb.qt
Thanks and Regards,
Ron_2nd.
More information about the Devel
mailing list