fbonalair/traefik-crowdsec-bouncer

View on GitHub
.idea/rest-api.http

Summary

Maintainability
Test Coverage
# Call to protected whoami
GET http://localhost:80

### Call to local bouncer ping
GET http://localhost:8081/api/v1/ping

### Call to local bouncer healthz
GET http://localhost:8081/api/v1/healthz

### Call to local bouncer
GET http://localhost:8081/api/v1/forwardAuth
X-Real-Ip: 127.0.0.1

### Call to crowdsec decision API
GET localhost:8083/v1/decisions
X-Api-Key: 40796d93c2958f9e58345514e67740e5


### Call to crowdsec decision API with parameters
GET localhost:8083/v1/decisions?type=ban&ip=209.127.17.234
X-Api-Key: 40796d93c2958f9e58345514e67740e5