I'm not sure there is a need for a re-write. Just some comments to explain what the code does.
For example on the button_click event you send the parameters for the webservice POST and the actual message you are sending is contained in the sCad string and the message target is set in the URL property (ie P.URL="http://myserver/myphpscript.php). Now if you want to make a normal POST call to a web form you need to change the message sent in sCad; if for example you have 2 fields name and email the message becomes: sCad="name=test1&email=te...@test.com". You also need to change the Post message so that the first parameter changes from "text/xml" to "application/x-www-form-urlencoded" Depending on the site you might or might not get a reply back from the server to the POST if you do then you need to look at the code in the P_Finished event. The second IF block is specific to the Web service data so comment it out but the rest is all you need. I hope this helps (and doesn't confuse you more). On Tue, Aug 12, 2014 at 1:09 PM, <gam...@googlecode.com> wrote: > > Comment #6 on issue 548 by mckayger...@gmail.com: complete code of htttp > post example > http://code.google.com/p/gambas/issues/detail?id=548 > > the bug its about http POST not about webservices > > if u read said "complete code of http post example" and i said "confuses > novice developers" due the actual http post example mixed two things: > http-post and xmlrcp! > > well u make much more noise..! Caveat make good response due explaime what > its no relevant and made example caller, that iluminate me the confusion, > due i'm not expert on CGI (and i really hate it) and neither webservice > things > > now i try to made examples run more easyle in gambas without need many > customizations, but seems are very hard due i'm have a older machine > (lenny) with gambas 3.4 only, THAT's why i asked about the wont fix > > -- > You received this message because this project is configured to send all > issue notifications to this address. > You may adjust your notification preferences at: > https://code.google.com/hosting/settings > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user