In message <[EMAIL PROTECTED]>, darran
wrote:
> entry = "testing API3.5 hours>6575079702 task_id>Thu, 13 Sep 2007"
...
> # this POST (same data as the above curl example) fails with an
> internal server error (500)
> req = urllib2.Request(url='http://subdomain.harvestapp.com/daily/add',
> data=e
I'm struggling with using urllib2 to access the Harvest time-tracking
web service (http://www.getharvest.com/api). GET is working fine.
POST is giving me a problem. Here is an example that creates a new
time-tracking entry using curl.
$ curl http://subdomain.harvestapp.com/daily/add -H 'Accept: