AnsweredAssumed Answered

How to get different Response from same REST URL

Question asked by pranaygupta on Sep 13, 2017
Latest reply on Nov 7, 2017 by pranaygupta

Assuming, I have a banking app, where there are 3 brands - AAA, BBB & ZZZ. Below REST URL - retrieves list of branches for three brands.

OPERATION: GET

 

URL1: https://api.aaa.com/v1/branches

URL2: https://api.bbb.com/v1/branches

URL3: https://api.zzz.com/v1/branches

 

Where api.aaa.com -> will definitely be some hostname & port number.

 

Issue: I want to have single SV project deployed in Single port -> where if user consumes above 3 URL gets different response for respective brands.I have 3 response specific to incoming request. But since there is no change in header request and no additional Request parameters being sent, Is there a way - we can retrieve different response for three different URL's hitting same port. Is there a way LISA can identify it?

Outcomes