Ákos Maróy 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?

You need to get wget to POST the data instead of GETting the form for filling
out the ticket.  You could use a packet sniffer to see what your browser does
when you click "submit" and incorporate that into a 'wget --post-data=...' call

Matt

--~--~---------~--~----~------------~-------~--~----~
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