--data-binary did the trick! Thanks,
Bob On 2/1/2013 9:43 AM, Andy Seaborne wrote:
On 01/02/13 13:50, Bob DuCharme wrote:curl -X PUT -d @test.ttl -H "Content-Type: text/turtle" "http://localhost:3030/myDataset/data?graph=default"-d is HTML form format try --data-binary @file-d expects "name=value" pairs (or "name"?) and makes the body of an HTML form. curl removes the NLs.The server receives something without any NLs hence the start comment is commenting the whole file.Andy
