microsoft / vscode-azure-iot-tools

The ultimate collection of extensions for working with Azure IoT in VS Code!
https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-tools
MIT License
20 stars 19 forks source link

D2C simulator - option to set content type and encoding #35

Open stevebus opened 3 years ago

stevebus commented 3 years ago

For customers who are testing IoT Hub routing in the cloud, either routing on message body, or routing to blob storage, it's required that they set the content type and the content encoding on the message (to 'application/json' and 'utf-8' respectively). In the VS Code IoT extension, under the "Send D2C message to IoT Hub" command, it would be nice to provide a way to set those values.