Skip to content

Add ContentType and ContentEncoding#47

Open
ttrichar wants to merge 1 commit into
lcarli:masterfrom
ttrichar:master
Open

Add ContentType and ContentEncoding#47
ttrichar wants to merge 1 commit into
lcarli:masterfrom
ttrichar:master

Conversation

@ttrichar

@ttrichar ttrichar commented Aug 7, 2024

Copy link
Copy Markdown

Add ContentType and ContentEncoding to IoT Hub message to allow for pulling of data to not be Base64 encoding

From MS documentation:
https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-construct

"Each IoT Hub protocol provides a message content type property which is respected when routing data to custom endpoints. To have your data properly handled at the destination (for example, JSON being treated as a parsable string instead of Base64 encoded binary data), you must provide the appropriate content type and charset for the message."

@alvee07

alvee07 commented Nov 26, 2024

Copy link
Copy Markdown

This is extremely useful and needed. When can we expect it?

@ttrichar

Copy link
Copy Markdown
Author

@alvee07 I have created a new npm package for this repository, which includes this pull request, feel free to use
https://flows.nodered.org/node/@ttrichar/node-red-contrib-azure-iot-hub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants