Looking again at the curl command, youre trying to create a project using the context api.
So probably changing this to curl -u *****:***** -H "Content-Type: text/xml" -d "project[name]=Build a treehouse for the kids" http://192.168.1.108:3000/projects.xml -i will do the trick Reinier > When I try and use curl with tracks, this is what I am getting. Any ideas why? > > curl -u *****:***** -H "Content-Type: text/xml" -d "project[name]=Build a treehouse for the kids" http://192.168.1.108:3000/contexts/3.xml -i > > HTTP/1.1 500 Internal Server Error > Connection: Keep-Alive > Date: Wed, 20 Aug 2008 03:51:38 GMT > Content-Type: text/html; charset=UTF-8 > Server: WEBrick/1.3.1 (Ruby/1.8.6/2007-09-24) > Content-Length: 60 > > <html><body><h1>500 Internal Server Error</h1></body></html> _______________________________________________ Tracks-discuss mailing list [email protected] http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
