Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

HTTP Post & encoding // decoding "payload"

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

  • HTTP Post & encoding // decoding "payload"

    I can appreciate the HTTP Listener encoding a payload for me.
    However, I do not see the mechanics for decoding the payload once I get it.

    So, the start-point is an HTTP Listener, to which I post a plain/text HL7 payload.
    I cannot find any easy method of accessing the "/message/payload" to then URL-decode it.
    What is available to an SFTP end point, is $message.rawData, which includes the entire HTTP wrapper, etc. It just seems like "decoded payload" would be popular enough that it would be easier to get to...

    Should I do the application/url... encoding myself and use key/value pairs?
    Should I be using the XML-to-HL7 de-serializer?
    Can I use a JavaScript approach like "message['payload']"?

    is there an "HTTP Listener/Sender" guide on any of this?

    thanks,

    -0)

  • #2
    Re:HTTP Post & encoding // decoding "payload"

    I am facing exaclty the same problem right now I will post here if I find an answer and would appreciate it if anyone else would post their thoughts as well

    thanks
    Fieran
    Fieran Mason-Blakley
    Standards Researcher
    Genologics Life Sciences

    Comment


    • #3
      Re:HTTP Post & encoding // decoding "payload"

      the answer is to use javascript built in functions like encode decode and uriencode uridecode
      Fieran Mason-Blakley
      Standards Researcher
      Genologics Life Sciences

      Comment

      Working...
      X