Announcement

Collapse
No announcement yet.

Call a rest web service as destination ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Call a rest web service as destination ?

    Hi,

    I'm using Mith Connect 3.3.

    I can use a http sender connector to call a rest web service but I want to add/remove a block from the content dynamically depend on data I receive.

    Is it possible to call a rest web service with a javascript writer connector and use jquery or anything else ?

    Thank you

  • #2
    You can call a rest service from a Javascript Writer, but you must use Java classes for your HTTP client.

    You can process the data received from the HTTP Sender in the Response Transformer for that destination, which may meet your needs.

    Comment


    • #3
      I don't think support for jquery is there in mirth, but as agermano said, you can use java.net library and its methods to consume an API in a js writer.
      HL7v2.7 Certified Control Specialist!

      Comment

      Working...
      X