On Sun, Oct 2, 2011 at 2:22 PM, Stephan Beal <sgb...@googlemail.com> wrote:
> How's this look... a first prototype at feeding POST data in via CLI > mode... > And here's a second attempt, the major improvement being that the command to run can be specified in the POST data: [stephan@cheyenne:~/cvs/fossil/fossil-json]$ cat in.2 { "requestId":"POST from file test", "command": "timeline/wiki", "indent":2, "payload":{ "limit":1 } } [stephan@cheyenne:~/cvs/fossil/fossil-json]$ ./fossil json --json-input in.2 { "fossil":"8145cdbf3b167efcf304e4ec924aaf85fdfa072d", "timestamp":1317559138, "requestId":"POST from file test", "procTimeMs":1, "payload":{ "limit":1, "timeline":[{ "rid":12811, "uuid":"a7e68df71b95d35321b9d9aeec3c8068f991926c", "timestamp":1310227825, "comment":"Changes to wiki page [Apache On Windows XP]", "user":"jeffrimko", "eventType":"w" }] } } -- ----- stephan beal http://wanderinghorse.net/home/stephan/
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users