Update README
This commit is contained in:
parent
b07ec6f35c
commit
b7a20e936c
1 changed files with 2 additions and 2 deletions
|
|
@ -109,7 +109,7 @@ export ALLOWED_TARGET_ORIGINS=httpbin.org
|
||||||
|
|
||||||
### Key Configuration
|
### Key Configuration
|
||||||
|
|
||||||
- `GET /ohttp-keys` - Retrieve current key configuration
|
- `GET /ohttp-configs` - Retrieve current key configuration
|
||||||
- Returns `application/ohttp-keys` content type
|
- Returns `application/ohttp-keys` content type
|
||||||
- Used by clients to obtain encryption keys
|
- Used by clients to obtain encryption keys
|
||||||
|
|
||||||
|
|
@ -124,7 +124,7 @@ Clients need the key configuration to encrypt requests:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Fetch key configuration
|
# Fetch key configuration
|
||||||
curl -H "Accept: application/ohttp-keys" https://gateway:8080/ohttp-keys
|
curl -H "Accept: application/ohttp-keys" https://gateway:8080/ohttp-configs
|
||||||
|
|
||||||
# Send OHTTP request (encrypted)
|
# Send OHTTP request (encrypted)
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue