I've used the XML-RPC interface API a few times with amazing results.
On Mon, 2007-11-19 at 13:01 -0800, ehahn9 wrote: > Hi. I have simple client-side app which wants to report bugs > automagically to trac. I was hoping to hit trac with an HTTP POST > something like: > > http://trac.mysite.com/newticket?reporter={name}&summary={summary}&description={descrption} > > but alas, trac returns a 503 for that, apparently because of some > magic in the trac-supplied auth info in the form: > (name="__FORM_TOKEN" value="3ed39e070e4e5d8a2ef3b621" ) which I assume > authenticates the post.. > > I was hoping that newticket would be okay with inbound POSTs for the > anonymous user (who has TICKET_CREATE permission), but no luck. > > Can anyone tell me: > > 1. Is there a way to get simple HTTP POST's to be accepted? > a) I suppose I could do the get first for the anonymous user and > scrape the html <sigh> > 2. If not, how else does one programmatically submit tickets? > a) via simple HTTP/rest? > b) via a server-side API (I can write a page which accepts the > URI and calls this api) > c) via email? > d) via XML-RPC, SOAP, JSON, etc.? (I really don't want to go > this far, btw) > > Thanks! > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---