Hi Mukesh,
Are you looking to pass back an HTTP status code, ie: 401 unauthorized? or a custom message from the backend?
If you are using an HTTP route assertion to the backend the below built-in context variables can return the HTTP status code along with the message body from the response object.
${httpRouting.reasonCode}
${response.http.status}
${response1.mainpart}
Regards,
Joe
Original Message:
Sent: 08-04-2019 11:17 PM
From: Mukesh Patra
Subject: Suggestion forwarding Customizing backend System Error
Hi
Can you please suggest or help in forwarding the customize the error send from backend system i.e. Microservice to front end via CA Gateway.
Also how to customize the error in CA.