I am trying to implement few already existing APIs. Suppose i have a application running on server say
192.168.0.1:8036
. It has various routes like
http://192.168.0.1:8036/api/sample/a1?name=swas&class=tty
http://192.168.0.1:8036/api/samp/a2?addr=swas&roll=tty
Have a custom domain name say
api.example.com
So here i want to direct every request through AWS Gateway. Finally request would be like
Request
would be passed as
Note: There could be multiple Routes with different dynamic parameter
In short every request which comes to api.example.com/* should be passed through AWS gateway to 192.168.0.1:8036/*