Our team has started tracking estimates in trac, but I'm using another application for keeping track of the time on each ticket. I want to be able to use a certain syntax in that application, export the hours recorded in a day, and update the appropriate tickets through a python script, using a http post to the correct ticket's page.
In mocking it up, I have the http authentication working, I can GET the page and print the content, but when I try to POST some fields, I get a "400: Bad Request" in return. While testing, I have the form for the ticket I'm trying to modify open in a browser, and am copying the __FORM_TOKEN, ts, and cnum inputs. Are there other values I need to post to make it a valid post? Why is it printing out the 400 HTTP status? Or, is there an easier way to do this? Thanks, dc --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
