<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Add Content-Type with IoTcloud.Azure (import IoT_Hub)]]></title><description><![CDATA[<p dir="auto">When i use the library and send message to IoT_hub the custom body is Base64 encoded when i use a message route to Cosmos DB. Is it possible to add system properties to the azure object?</p>
<p dir="auto">I see people adding the Content-Type and Content-Encoding  utf-8 would solve the issue...</p>
<p dir="auto">azure = IoT_Hub(connection_string='HostName=&lt;my iothub&gt;.azure-devices.net;DeviceId=myCore2;SharedAccessKey=&lt; right&gt;')<br />
azure.start()</p>
<p dir="auto">azure.publish_D2C_message(msgJSON)</p>
]]></description><link>https://community.m5stack.com/topic/6055/add-content-type-with-iotcloud-azure-import-iot_hub</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 14:35:44 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6055.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Feb 2024 13:49:29 GMT</pubDate><ttl>60</ttl></channel></rss>