If I have two different apis that are configured with the same target url and the same listen path but different endpoints will tyk know how to properly route my inbound requests?
ex:
API 1 Target URL: api.origin.com
API 1 Listen Path: /
endpoints /photos, /galleries, /albums
API 2 Target URL: api.origin.com
API 2 Listen Path: /
endpoints /sports /scores /standings
Martin
June 10, 2016, 7:36pm
2
No, it will not, one of the API’s will not be loaded by the muxer.
Do we have to specify a listen path? If not we could just add the endpoints we want correct?
Martin
June 11, 2016, 4:45am
4
You do need to set a listen path.
Why do you need two APIs, in your example The targets are the same?
You can control ACL at the policy level by setting allowed endpoints there if it’s an access control issue?