Prettify readme

This commit is contained in:
1computer1 2019-07-09 05:32:27 -04:00
parent 5b1a0ec9a7
commit 6a53f3891b

View file

@ -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.