From 6a53f3891bed5ec0284c2360bbe5881015a5c050 Mon Sep 17 00:00:00 2001 From: 1computer1 Date: Tue, 9 Jul 2019 05:32:27 -0400 Subject: [PATCH] Prettify readme --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f644d27..939bed2 100644 --- a/README.md +++ b/README.md @@ -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.