@@ -36,15 +36,15 @@ docker run -p 8080:8080 -v $(pwd)/.env:/app/.env ghcr.io/jsr-probitas/echo-http:
3636
3737### Echo Endpoints
3838
39- | Endpoint | Method | Description |
40- | ------------ | ------ | ----------------------------------------- |
41- | ` /get ` | GET | Echo request info (query params, headers) |
42- | ` /post ` | POST | Echo request body (JSON, form data) |
43- | ` /put ` | PUT | Echo request body |
44- | ` /patch ` | PATCH | Echo request body |
45- | ` /delete ` | DELETE | Echo request info |
46- | ` /anything ` | ANY | Echo any request (method, headers, body) |
47- | ` /anything/* ` | ANY | Echo any request with path |
39+ | Endpoint | Method | Description |
40+ | ------------- | ------ | ----------------------------------------- |
41+ | ` /get ` | GET | Echo request info (query params, headers) |
42+ | ` /post ` | POST | Echo request body (JSON, form data) |
43+ | ` /put ` | PUT | Echo request body |
44+ | ` /patch ` | PATCH | Echo request body |
45+ | ` /delete ` | DELETE | Echo request info |
46+ | ` /anything ` | ANY | Echo any request (method, headers, body) |
47+ | ` /anything/* ` | ANY | Echo any request with path |
4848
4949### Utility Endpoints
5050
@@ -59,44 +59,44 @@ docker run -p 8080:8080 -v $(pwd)/.env:/app/.env ghcr.io/jsr-probitas/echo-http:
5959
6060### Redirect Endpoints
6161
62- | Endpoint | Method | Description |
63- | ---------------------- | ------ | ------------------------------------- |
64- | ` /redirect/{n} ` | GET | Redirect n times before final response|
65- | ` /redirect-to ` | GET | Redirect to URL (?url=...&status_code=)|
66- | ` /absolute-redirect/{n} ` | GET | Redirect n times with absolute URLs |
67- | ` /relative-redirect/{n} ` | GET | Redirect n times with relative URLs |
62+ | Endpoint | Method | Description |
63+ | ------------------------ | ------ | -- ------------------------------------- |
64+ | ` /redirect/{n} ` | GET | Redirect n times before final response |
65+ | ` /redirect-to ` | GET | Redirect to URL (?url=...&status_code=) |
66+ | ` /absolute-redirect/{n} ` | GET | Redirect n times with absolute URLs |
67+ | ` /relative-redirect/{n} ` | GET | Redirect n times with relative URLs |
6868
6969### Authentication Endpoints
7070
71- | Endpoint | Method | Description |
72- | ---------------------------- | ------ | ---------------------------------------- |
73- | ` /basic-auth/{user}/{pass} ` | GET | Basic auth (200 if match, 401 otherwise) |
74- | ` /hidden-basic-auth/{user}/{pass} ` | GET | Basic auth (200 if match, 404 otherwise)|
75- | ` /bearer ` | GET | Bearer token validation |
71+ | Endpoint | Method | Description |
72+ | ---------------------------------- | ------ | ---------------------------------------- |
73+ | ` /basic-auth/{user}/{pass} ` | GET | Basic auth (200 if match, 401 otherwise) |
74+ | ` /hidden-basic-auth/{user}/{pass} ` | GET | Basic auth (200 if match, 404 otherwise) |
75+ | ` /bearer ` | GET | Bearer token validation |
7676
7777### Cookie Endpoints
7878
79- | Endpoint | Method | Description |
80- | ----------------- | ------ | ---------------------------------------- |
81- | ` /cookies ` | GET | Echo request cookies |
82- | ` /cookies/set ` | GET | Set cookies (?name=value) and redirect |
83- | ` /cookies/delete ` | GET | Delete cookies (?name) and redirect |
79+ | Endpoint | Method | Description |
80+ | ----------------- | ------ | -------------------------------------- |
81+ | ` /cookies ` | GET | Echo request cookies |
82+ | ` /cookies/set ` | GET | Set cookies (?name=value) and redirect |
83+ | ` /cookies/delete ` | GET | Delete cookies (?name) and redirect |
8484
8585### Binary Data Endpoints
8686
87- | Endpoint | Method | Description |
88- | -------------- | ------ | -------------------------------- |
89- | ` /bytes/{n} ` | GET | Return n random bytes (max 100KB)|
90- | ` /stream/{n} ` | GET | Stream n JSON lines (max 100) |
91- | ` /drip ` | GET | Drip data (?duration=&numbytes=&delay=)|
87+ | Endpoint | Method | Description |
88+ | ------------- | ------ | ------- -------------------------------- |
89+ | ` /bytes/{n} ` | GET | Return n random bytes (max 100KB) |
90+ | ` /stream/{n} ` | GET | Stream n JSON lines (max 100) |
91+ | ` /drip ` | GET | Drip data (?duration=&numbytes=&delay=) |
9292
9393### Compression Endpoints
9494
95- | Endpoint | Method | Description |
96- | ----------- | ------ | ----------------------------- |
97- | ` /gzip ` | GET | Return gzip-compressed response |
98- | ` /deflate ` | GET | Return deflate-compressed response |
99- | ` /brotli ` | GET | Return brotli-compressed response |
95+ | Endpoint | Method | Description |
96+ | ---------- | ------ | ----- ----------------------------- |
97+ | ` /gzip ` | GET | Return gzip-compressed response |
98+ | ` /deflate ` | GET | Return deflate-compressed response |
99+ | ` /brotli ` | GET | Return brotli-compressed response |
100100
101101See [ docs/api.md] ( ./docs/api.md ) for detailed API reference.
102102
0 commit comments