Prettify readme
This commit is contained in:
parent
5b1a0ec9a7
commit
6a53f3891b
1 changed files with 2 additions and 4 deletions
|
@ -9,7 +9,7 @@ Arbitrary code execution server using Docker.
|
||||||
|
|
||||||
## Endpoints
|
## Endpoints
|
||||||
|
|
||||||
`GET /languages`
|
### **GET** `/languages`
|
||||||
List of enabled languages.
|
List of enabled languages.
|
||||||
Example response:
|
Example response:
|
||||||
|
|
||||||
|
@ -17,9 +17,7 @@ Example response:
|
||||||
["haskell", "javascript"]
|
["haskell", "javascript"]
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
### **POST** `/eval`
|
||||||
|
|
||||||
`POST /eval`
|
|
||||||
Evaluate code.
|
Evaluate code.
|
||||||
JSON payload with `language` and `code` keys.
|
JSON payload with `language` and `code` keys.
|
||||||
The `language` is as in the name of a subfolder in the `language` directory.
|
The `language` is as in the name of a subfolder in the `language` directory.
|
||||||
|
|
Loading…
Reference in a new issue