Skip to content

Commit c0c9799

Browse files
authored
small indentation change
1 parent e8ade50 commit c0c9799

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# A python Socket Server
22

33
## It exposes 3 APIs:
4-
1. GET request as `"/api/request?connId=<connection_id>&timeout=<timeout>"` . returns `{"status" : "OK"}` if successful else error with error code.
5-
2. GET request as `"/api/serverStatus"` . Returns all running requests and time remaining to complete as JSON.
6-
3.GET request as `"/api/kill?connId=<connection_id>"` . Kills the running request with given connId and returns `{"status" : "KILLED"}` to killed request and `{"status" : "OK"}` to current request. If req not found returns `{"status" : "invalid connection id:<connection_id>"}` .
4+
1. GET request as `"/api/request?connId=<connection_id>&timeout=<timeout>"`. returns `{"status" : "OK"}` if successful else error with error code.
5+
2. GET request as `"/api/serverStatus"`. Returns all running requests and time remaining to complete as JSON.
6+
3. GET request as `"/api/kill?connId=<connection_id>"` . Kills the running request with given connId and returns `{"status" : "KILLED"}` to killed request and `{"status" : "OK"}` to current request. If req not found returns `{"status" : "invalid connection id:<connection_id>"}` .

0 commit comments

Comments
 (0)