We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop a proxy similar to http://anyproxy.io/en/
Desired features:
--config
How Should it behave:
route: { in: { stringMatcher: "order/add", port: 8080, methods: ["POST"], passQuery:true }, out: { endpoint: "add", domain: "localhost", port: 8080 } }
This will connect incomming POST localhost:8080/order/add?order=123 to localhost:9000/add?order=123
localhost:8080/order/add?order=123
localhost:9000/add?order=123
route: { in: { regexMatcher: "/\.(jpg)$/", port: 3000, methods: ["GET"], passPath: true }, out: { endpoint: "files/", domain: "localhost", port: 8080 } }
This will connect incoming GET localhost:3000/myFile.jpg to localhost:8080/files/myFile.jpg
localhost:3000/myFile.jpg
localhost:8080/files/myFile.jpg
The text was updated successfully, but these errors were encountered:
AxelAli
No branches or pull requests
Develop a proxy similar to http://anyproxy.io/en/
Desired features:
--config
parameter to pass a json configHow Should it behave:
This will connect incomming POST
localhost:8080/order/add?order=123
tolocalhost:9000/add?order=123
This will connect incoming GET
localhost:3000/myFile.jpg
tolocalhost:8080/files/myFile.jpg
The text was updated successfully, but these errors were encountered: