title: How to update Azure Device Twin desired and reported properties
body: <p>I am having a JSON payload which I want to pass to the Azure device twin with the help of API and python script integration. The sample payload is as follows:</p>
  <pre><code>para1 = {&quot;time&quot;: [0,23,30]}
  para2 = {&quot;site&quot;:&quot;test&quot;}
  </code></pre>
  <p>I want to pass this data to the device twin, so that even if the device is offline, as soon as it comes online the information will be updated. Please help me achieve this flow.</p>