Mercurial > p > roundup > code
comparison doc/rest.txt @ 6194:0f0dedd2f95d
Fix example to have 15 minute lifetime to match text.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 10 Jun 2020 19:46:41 -0400 |
| parents | 1cb2375015f0 |
| children | e77f6d00cfb9 |
comparison
equal
deleted
inserted
replaced
| 6193:69b1aaf9c51f | 6194:0f0dedd2f95d |
|---|---|
| 831 from ``rest/data/issue/@poe``. You can create a generic POE link by adding | 831 from ``rest/data/issue/@poe``. You can create a generic POE link by adding |
| 832 the "generic" field to the post payload:: | 832 the "generic" field to the post payload:: |
| 833 | 833 |
| 834 curl -u demo:demo -s -X POST -H "Referer: https://.../demo/" \ | 834 curl -u demo:demo -s -X POST -H "Referer: https://.../demo/" \ |
| 835 -H "X-requested-with: rest" \ | 835 -H "X-requested-with: rest" \ |
| 836 --data 'lifetime=100&generic=1' \ | 836 --data 'lifetime=900&generic=1' \ |
| 837 https://.../demo/rest/data/issue/@poe | 837 https://.../demo/rest/data/issue/@poe |
| 838 | 838 |
| 839 This will return a link under: ``https://.../demo/rest/data/issue/@poe``:: | 839 This will return a link under: ``https://.../demo/rest/data/issue/@poe``:: |
| 840 | 840 |
| 841 { | 841 { |
