Skip to content

Commit e8ade50

Browse files
authored
updating readme
1 parent 96ef8f3 commit e8ade50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

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

3-
#It exposes 3 APIs:
3+
## It exposes 3 APIs:
44
1. GET request as `"/api/request?connId=<connection_id>&timeout=<timeout>"` . returns `{"status" : "OK"}` if successful else error with error code.
55
2. GET request as `"/api/serverStatus"` . Returns all running requests and time remaining to complete as JSON.
66
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)