Forum Discussion
chrwie
6 years agoNew Contributor
Hello, Alex,
Thank you very much for your request.
In the best case permanently, as required Response 1, or Response 2 as well as Standard. But so that I can set the standard from the outside. Best per Groovy.
Many greetings, Christoph
AlexKaras
Champion Level 3
6 years agoHi,
Can you provide an example?
Static request assumes same static response. I can hardly imagine web service that for the same static request returns one response today and another response tomorrow.
If you need to reply with different responses to the request of the same structure but with different parameters, then you should use different dispatch style depending on how parameters are provided in the request.