Skip to content

Instantly share code, notes, and snippets.

@mattfordham
Created March 26, 2011 19:23
Show Gist options
  • Save mattfordham/888556 to your computer and use it in GitHub Desktop.
Save mattfordham/888556 to your computer and use it in GitHub Desktop.
curl https://domain.harvestapp.com/daily/add/ -H 'Content-Type: application/xml' -H 'Accept: application/xml' -u user@domain.com:password --data-urlencode "<request><notes>Test api support</notes><hours>3</hours><project_id type='integer'>1078833</project_id><task_id type='integer'>26711</task_id><spent_at type='date'>Fri, 25 Mar 2011</spent_at></request>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment