How to add custom message in http sender response #6386
-
Hello i am using i have set up a channel http listener and http sender connectors , is there any way that i can set up some message and stauts code in http sender at transformer while hit some condition and stop the further execution like http sender send the request ? |
Beta Was this translation helpful? Give feedback.
Answered by
pacmano1
Jan 7, 2025
Replies: 1 comment 2 replies
-
Yes. That is possible. What have you tried? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your source tab indicates where and when to source a response. Also, you can use variables for the response code. Perhaps revisit https://docs.nextgen.com/bundle/Mirth_User_Guide_4_5_0/page/connect/connect/topics/c_HTTP_Listener_connect_ug.html.
For example, you can set a $r variable with the result you want for the response. It will show in the response dropdown on the source tab.