You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# erised
2
-
A simple**http server** to test arbitrary REST API responses.
2
+
A nimble**http server** to test arbitrary REST API responses.
3
3
4
4
# Usage
5
5
`erised [options]`
@@ -12,7 +12,7 @@ Parameters:
12
12
-level string
13
13
one of debug/info/warn/error/off (default "info")
14
14
-path string
15
-
path to search recursively for X-Erised-Response-File (default ".")
15
+
path to search recursively for X-Erised-Response-File (path is restricted to the directory or subdirectories where the program is invoked)
16
16
-port int
17
17
port to listen (default 8080)
18
18
-read int
@@ -32,7 +32,7 @@ The latest version is also available as a Docker image at [edaddario/erised](htt
32
32
To start the server in a docker container, with defaults values, execute the following command:
33
33
34
34
```sh
35
-
docker run --rm -p 8080:8080 --name erised edaddario/erised [flags]
35
+
docker run --rm -p 8080:8080 --name erised edaddario/erised [options]
36
36
```
37
37
38
38
If you would like to return file based responses (_X-Erised-Response-File_ set) when using the docker image, you'll need to map the directory containing your local files and set the _-path_ option accordingly.
0 commit comments