Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ContentType and ContentEncoding #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ttrichar
Copy link

@ttrichar ttrichar commented Aug 7, 2024

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."

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.

1 participant