Dynamic response

abaratyabaraty Posts: 1

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

Answers

Sign In or Register to comment.