Two ways I know of:
- Use HttpUnit, which would require an Ant task wrapper written
- Use Canoo WebTest, which, ironically, is an Ant task wrapper over
HttpUnit :)
I believe WebTest would do the trick, although it might be a bit fiddly
to save the result just how you want, so maybe a custom HttpUnit wrapper
is what is needed.
Erik
Greg 'Cosmo' Haun wrote:
> I've used the Get task to perform an HTTP GET and I've used the Telnet task
> to perform an HTTP POST (ignoring the return), but how do I do an HTTP POST
> and capture the returned document?
>
> Is there a Post task around? I couln't find one.
>
> Thanks in Advance
>
> Gregory Cosmo Haun
> Architect, Interactive Development
> Cenquest, Inc.
>
> Phone: 503.276.7943
> Email: ghaun->cenquest.com
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>