Simple service for proxying HTTP requests to third-party services.
To run the required command in terminal:
make run
To check the methods and view the documentation, follow the link:
http://localhost:8080/swagger/index.html
To stop the service, run the following command in the terminal:
make down
cURL samples can be run from command line
curl -X POST -H "Content-Type: application/json" -d '{ "method": "GET", "url": "http://google.com", "headers": { "Authentication": "Basic bG9naW46cGFzc3dvcmQ="," } }' http://localhost:8080
curl -X GET 'http://localhost:8080/ping'
curl -X GET 'http://localhost:8080/history'