title: Shopify Trying to create a script tag in shopify but returns an error
body: <p>I am trying to build an app in shopify, so uing their API,
  <a href="https://help.shopify.com/api/reference/scripttag#create" rel="nofollow noreferrer">as shown here</a>
  But while I am requesting a POST request on that URL i.e.</p>
  
  <pre><code>https://demo-store.myshopify.com/admin/script_tags.json
  </code></pre>
  
  <p>It is returning an error with HTTP status code 400 (Bad Request)</p>
  
  <pre><code>{"errors":{"script_tag":"expected String to be a Hash"}}
  </code></pre>
  
  <p>Sample code</p>
  
  <pre><code>$access_token   = "my-access-token";
  $client = new \GuzzleHttp\Client();
  try {
   $response = $client-&gt;request($type, $url,[
      'headers'   =&gt; ['X-Shopify-Access-Token' =&gt; $access_token],                    
      'form_params' =&gt; ['script_tag'=&gt; \GuzzleHttp\json_encode(["event" =&gt; "onload", "src" =&gt; "https://app.dev/app.js"])],
      ]);
      $result = json_decode($response-&gt;getBody()-&gt;getContents(), true);
      var_dump($response, $result);
      } catch (\Exception $ex) {
          var_dump($ex);
      }
  </code></pre>