Dynamic response
Options
abaraty
Posts: 1 ✭
in Virtualize
I have multi response correlated with URL PATH. but I need some id's in the path to send 404 message, how can I do it.
here is example:
/x/person/* is the URL path correlation
The followings should respond JSON message
/x/person/1111
/x/person/3333
the following should send 404 not found message.
/x/person/2222
0
Answers
-
@abaraty
you should add next responder which will handle /x/person/2222 path request.
You can achieve it, by using Multiple Response view in existing responder, or adding next responder for "404" handling only.PLease check following documentation of Virtualize:
Request URL Path Correlations
Understanding the Message Correlation Process--
Ireneusz Szmigiel
http://www.catb.org/esr/faqs/smart-questions.html0