Mercurial > p > roundup > code
comparison doc/customizing.txt @ 6293:5d6b3122f74c
Remove redundant words in doc.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 29 Nov 2020 00:22:20 -0500 |
| parents | a67e2b559e8d |
| children | 1a15089c2e49 207b0fc82fc1 |
comparison
equal
deleted
inserted
replaced
| 6291:a67e2b559e8d | 6293:5d6b3122f74c |
|---|---|
| 1006 of the file. E.G. from ``image/jpeg`` to ``text/plain``. You can do | 1006 of the file. E.G. from ``image/jpeg`` to ``text/plain``. You can do |
| 1007 this easily through the web interface, or using the ``roundup-admin`` | 1007 this easily through the web interface, or using the ``roundup-admin`` |
| 1008 command line interface. | 1008 command line interface. |
| 1009 | 1009 |
| 1010 You can also change the contents of a file or message using the REST | 1010 You can also change the contents of a file or message using the REST |
| 1011 interface to change the file contents. Note that this will NOT result | 1011 interface. Note that this will NOT result in an entry in the journal, |
| 1012 in an entry in the journal, so again it allows a silent change. To do | 1012 so again it allows a silent change. To do this you need to make two |
| 1013 this you need to make two rest requests. An example using curl is:: | 1013 rest requests. An example using curl is:: |
| 1014 | 1014 |
| 1015 $ curl -u demo:demo -s | 1015 $ curl -u demo:demo -s |
| 1016 -H "X-requested-with: rest" \ | 1016 -H "X-requested-with: rest" \ |
| 1017 -H "Referer: https://tracker.example.com/demo/" \ | 1017 -H "Referer: https://tracker.example.com/demo/" \ |
| 1018 -X GET \ | 1018 -X GET \ |
