We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 910b2ff commit 5e1bf16Copy full SHA for 5e1bf16
README.md
@@ -3,11 +3,20 @@
3
dead simple binary to check http status code returned from health-check
4
endpoint.
5
6
+## Why not just use cURL?
7
-## Install
8
+cURL can definitively do the job as long as you are willing to mix the shell
9
+script to parse the payload. Specially if you want to cover a range of status
10
+instead of a single HTTP code.
11
+
12
+The `http_status_code_check` command removes the necessity of parsing the HTTP
13
+status codes and let you dealing only with the program exit code itself:
14
+- 0 - if the status code is inside the list of expected ones
15
+- 1 - if the status code is outside the list of expected ones
16
-...
17
+## Install
18
19
+`cargo install http_status_code_check`
20
21
## Usage
22
0 commit comments