I am following instructions at https : // tyk.io/docs/getting-started/create-api/
and I successfully setup tyk and can successfully communicate with postman to tyk api and add apis.
However I am unable to setup the correct configuration for this endpoint:
http://username:[email protected]:80/api?do=start&Location=one&Key=12345
Initially I tried this
"proxy": {
"listen_path": "/test-api/",
"target_url": "http://username:[email protected]:80/api?do=start&Location=one&Key=12345",
"strip_listen_path": true
},
and I have been reading documentation and testing more configuration and I am unable to find the correct setup.
How can I reverse proxy a user over wan to tyk at for example https://tykurl.com/test-api/
and for tyk to perform POST the auth and query parameters to one specific url endpoint with preconfigured parameters http://username:[email protected]:80/api?do=start&Location=one&Key=12345
Thank you