Prettify readme

This commit is contained in:
1computer1 2019-07-09 05:32:27 -04:00
parent 5b1a0ec9a7
commit 6a53f3891b
1 changed files with 2 additions and 4 deletions

View File

@ -9,7 +9,7 @@ Arbitrary code execution server using Docker.
## Endpoints
`GET /languages`
### **GET** `/languages`
List of enabled languages.
Example response:
@ -17,9 +17,7 @@ Example response:
["haskell", "javascript"]
```
---
`POST /eval`
### **POST** `/eval`
Evaluate code.
JSON payload with `language` and `code` keys.
The `language` is as in the name of a subfolder in the `language` directory.