AnsweredAssumed Answered

How to use request parameter in response?

Question asked by sharath.kumar on Feb 16, 2016
Latest reply on Feb 16, 2016 by sharath.kumar



I have a request parameter objectId in the form /v1/getProduct/{objectId}. I want to use this objectId in the JSON response to display appropriate message like:


"status": 404

"error": "Not Found"

"message":"{objectId} is not found"


How do I store objectId in a variable and use that in response? I'm using DevTest 9.0