Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/habibiefaried/http-revproxy-injector
Reverse proxy to inject http component (header, form, etc) on request or response
https://github.com/habibiefaried/http-revproxy-injector
Last synced: 12 days ago
JSON representation
Reverse proxy to inject http component (header, form, etc) on request or response
- Host: GitHub
- URL: https://github.com/habibiefaried/http-revproxy-injector
- Owner: habibiefaried
- License: apache-2.0
- Created: 2022-04-08T03:19:12.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-08T13:35:53.000Z (over 2 years ago)
- Last Synced: 2024-06-21T21:05:18.730Z (5 months ago)
- Language: Go
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# http-revproxy-injector
[![Integration Test](https://github.com/habibiefaried/http-revproxy-injector/actions/workflows/integrationtest.yml/badge.svg)](https://github.com/habibiefaried/http-revproxy-injector/actions/workflows/integrationtest.yml)Reverse proxy to inject http component (header, form, etc) on request or response
# Examples
## add header cookie
```
# curl -X POST http://revproxydvwa:4322/revpr0xyconfig -H 'Content-Type: application/json' -d '{"name":"Cookie","value":"PHPSESSID=jv2db8n2jvjbjs4t44me934570; security=low", "place": "header"}'
{"message":"Data is injected"}# curl http://revproxydvwa:4322/revpr0xyconfig
{"message":"OK","data":{"Cookie":{"value":"PHPSESSID=jv2db8n2jvjbjs4t44me934570; security=low","place":"header"}}}
```