mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix example request URL and JSON
This commit is contained in:
parent
d829f83226
commit
2b5e369b98
1 changed files with 3 additions and 3 deletions
|
@ -40,14 +40,14 @@ The CLSI is based on a JSON API.
|
||||||
|
|
||||||
(Note that valid JSON should not contain any comments like the example below).
|
(Note that valid JSON should not contain any comments like the example below).
|
||||||
|
|
||||||
POST /project/<project-id>
|
POST /project/<project-id>/compile
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
compile: {
|
"compile": {
|
||||||
"options": {
|
"options": {
|
||||||
// Which compiler to use. Can be latex, pdflatex, xelatex or lualatex
|
// Which compiler to use. Can be latex, pdflatex, xelatex or lualatex
|
||||||
"compiler": "lualatex"
|
"compiler": "lualatex",
|
||||||
// How many seconds to wait before killing the process. Default is 60.
|
// How many seconds to wait before killing the process. Default is 60.
|
||||||
"timeout": 40
|
"timeout": 40
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue