Skip to content

Commit c0da7a7

Browse files
authored
Update README.md
1 parent 58fdc15 commit c0da7a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The default configuration file is `config/config.yaml.example`.
5959

6060
- ##### Http
6161

62-
````http request
62+
````
6363
// Push job
6464
POST 127.0.0.1:8000/topic/mytopic/job
6565
body: {"id": "myid1","delay":10, "ttr":4, "body":"body"}
@@ -71,7 +71,7 @@ body: {"id": "myid1","delay":10, "ttr":4, "body":"body"}
7171
}
7272
````
7373

74-
````http request
74+
````
7575
// Pop job (timeout: seconds)
7676
GET 127.0.0.1:8000/topic/mytopic/job?timeout=5
7777
@@ -89,7 +89,7 @@ GET 127.0.0.1:8000/topic/mytopic/job?timeout=5
8989
}
9090
````
9191

92-
````http request
92+
````
9393
// Delete job
9494
DELETE 127.0.0.1:8000/topic/mytopic/job/myid1
9595
@@ -100,7 +100,7 @@ DELETE 127.0.0.1:8000/topic/mytopic/job/myid1
100100
}
101101
````
102102

103-
````http request
103+
````
104104
// Delete job
105105
PUT 127.0.0.1:8000/topic/mytopic/job/myid1
106106

0 commit comments

Comments
 (0)