I have a mirth instance (version 3.0.1) sending out using a POST method to a web api restfull service.
[POST("MessagesHl7/OML_O21")] public HttpResponseMessage
PostOmlo21([FromBody] sting receivedmessage) {..}
The problem is that the message hl7 that is sent to the service in a outbound message is cut in the first characters. For example, in the message:
MSH|^~\&|CPSI^1.3.6.1.4.1.27248.1.17^ ISO|CGH|...
in the receivedmessage variable the text MSH|^~\ is received only. How can I do in order that the message is not cut?
In the http channel, the configuration is:POST, not query parameters, in
headers content-type application/x-www-form-urlencoded
,
Content-Type value application/xml
,
and the value that send is =${message.encodedData}
.