Well, there's a reason it's called 'wget' and not 'wpost' ;)
Regardless, check the wget man page for --post-data and --post-file.
Unfortunately, it's still not as simple as you might think.  You have
to deal with cookies, as well as sending the form token with every
request.

On 8/31/07, �kos Mar�y <[EMAIL PROTECTED]> wrote:
>
> I wonder if one can create a new ticket in trac via a simple wget call.
>
> I see that I can set up the ticket form page by issuing request
> parameters, for example:
>
> http://.../newticket?component=some_component&owner=john_doe&priority=critical&summary=Build%20failure
>
> but calling this URL doesn't create the ticket - just initializes the
> form. I wonder if one can simply create a ticket by supplying data as above?
>
> I see that there's an XML-RPC API for Trac, but that seems to be an
> overkill for this small task..
>
>
> Akos
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to