well, i normally use libcurl (the lib behind the binary) so don't know
the syntax to post data with curl itself.

I do know though, that after you make a bash script (basically a batch
file) and call it from witango, you can make it spit the results of
the action to a file, which you then could read in and do with what
you please.

Post args are name value pairs just like search args so yeah, you'll
need to make it a named post arg parameter.

here's the website for curl where you can find information about how
to use it better (there is also a curl mailing list)

http://curl.haxx.se/docs/

not all of the answers you were looking for but hope it helps



On Thu, Apr 17, 2008 at 5:32 PM, Wayne Irvine <[EMAIL PROTECTED]> wrote:
> Can anyone help with this?
>
> So far I've had about 5 different methods suggested but no actual
> implementations. I'm stumped.
>
> @URL
> I get this far with this:
>
> <@URL LOCATION="https://www.securepay.com.au/test/payment"; useragent=
> "Witango Server <@version><@crlf> Content-Type:
> application/x-www-form-urlencoded" POSTARGS=........
>
> I know I need to POST the following data:
>
> <?xml version="1.0" encoding="UTF-
> 8"?><SecurePayMessage><MessageInfo><messageID>8af793f9af34bea0cf40f5fc011e0c
> </me
> ssageID><messageTimestamp>20041904145505116000+600</messageTimestamp><timeou
> tVal
> ue>60</timeoutValue><apiVersion>xml-
> 4.2</apiVersion></MessageInfo><MerchantInfo><merchantID>abc0001</merchantID>
> <pas
> sword>abc123</password></MerchantInfo><RequestType>Payment</RequestType><Pay
> ment
> >.......
>
> Do I just put it in the POSTARGS parameter? Does it need to be paired with
> an argument name?
>
> cURL
> No idea
>
> wGET
> Also no idea.
>
> Write  BASH script
> No idea. And no idea how to integrate this with Witango. I guess I can
> trigger it but how do I capture stdout?
>
> JavaBean and RealBasic
> See above.
>
> Any help would be greatly appreciated.
>
> Wayne Irvine
>
>
>
>
>                  Byte Services Pty Ltd
>               http://www.byteserve.com.au/
>                  [EMAIL PROTECTED]
>   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
>
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to