hivemq / hivemq-edge

HiveMQ Edge is an MQTT gateway that enables interoperability between OT devices and IT systems. It translates diverse protocols into MQTT for streamlined communication and helps organize data into a unified namespace, making managing and streaming data across your infrastructure easier.
http://hivemq.com
Apache License 2.0
92 stars 21 forks source link

Fix(18091) - Payload in HTTP adapter #313

Closed simon622 closed 4 months ago

simon622 commented 4 months ago

Motivation

Resolves #18091

I have added a new checkbox “Assert JSON Payload” which, when checked will always attempt to parse the payload as JSON regardless of the content type on the response object. I considered using a dropdown with multiple content types for the response, but actually the reality is that it will almost always be either dynamic (existing behaviour) OR JSON.

Changes