title: how to capture shopify webhook payload to use for local development?
body: <p>I'm trying to write a few azure functions which will do some reasonably simple integrations after a Shopify order sends a webhook.</p>
  <p>I've got a conceptual issue that I'd appreciate some help with.</p>
  <p>I'm trying to mock up the webhook in Postman. to do this, I used Hookbin to collect the output from Shopify and the body came through a little like this</p>
  <pre><code>{
    &quot;id&quot;: 3207753990315,
    &quot;email&quot;: &quot;mattshort77@gmail.com&quot;,
    &quot;closed_at&quot;: null,
    &quot;created_at&quot;: &quot;2021-02-02T21:44:18+00:00&quot;,
    &quot;updated_at&quot;: &quot;2021-02-02T21:44:19+00:00&quot;,
    &quot;number&quot;: 28,
    &quot;note&quot;: &quot;&quot;,
    &quot;total_price&quot;: &quot;10.00&quot;,\
    ....
  }
  </code></pre>
  <p>I think that this is json formatted.
  so i took this from hookbin and put it into the body (raw) of a postman call. using the local address for the azure function. (which i'm coding in VS Code on a mac). When i send this it works fine. In the function i can collect the $Request.Body and convert from JSON format.</p>
  <p>The problem comes in when i promote my function to azure.
  An Azure Function receives a custom object in as $Request, so the convert from JSON line isnt needed.</p>
  <p>I need to understand how to mock the JSON that ive got from Hookbin up into the same format as the object that the function receives as this would speed up my dev flow loads. and just be a better pattern to be fair. I'm realitvely sure that this is the step I've got wrong. In collecting the payload with Hookbin, I've got the JSON format of the order, but thats not how its received in an Azure Function, which according to the documention presents the $Request as on object.</p>