I have a production with a HLv2 HTTP Listener. For demo purposes, I need to send HL7 messages directly from a browser. Here is an example (React/typescript):
const message = "MSH...";
const args: RequestInit = {
method: "POST",
mode: "no-cors",
body: message
}
const response = await fetch(IRIS_SERVER_HL7_HTTP, args);
// await checkResponseAsync(response);
return await response.text();

.png)
.png)




