Access Mirth Connect REST API from Javascript Transformers (Mirth 3.5.1)
问题 I am struggling to access the mirth connect Rest api endpoints from a source javascript transformer of a mirth connect channel. My goal is to be able to export and import channel groups using javascript code in the transformer. I am aware that it is not possible to use XHR as it is specific to web browsers. I have tried searching for any good documentation on how to consume mirth connect rest api but I haven't been lucky either. Can someone please demonstrate maybe through code on how to