title: PHP Curl PUT stopps at curl_exec
body: <p>I try to update a product via PUT-Request, but the Programm stopps executing at curl_exec.
  Since i dont even get a error or anything, iam kinda lost in the dark.
  I generated the code using this site: <a href="https://reqbin.com/" rel="nofollow noreferrer">https://reqbin.com/</a>
  It worked for my GET- and POST-Requests just fine, but the PUT doesnt seem to work.
  When i send the PUT-Request using that site, it actually works, but not on my local workspace.</p>
  <p>This is my code:</p>
  <pre><code>public function updateProduct($product) {
          $id = $product-&gt;{&quot;id&quot;};
          $sku = $product-&gt;{&quot;sku&quot;};
          $infiniteInventory = $product-&gt;{&quot;infiniteInventory&quot;};
          $images = $product-&gt;{&quot;images&quot;};
          $category = $product-&gt;{&quot;category&quot;};
          $adaptivePrice = $product-&gt;{&quot;adaptivePrice&quot;};
          $manualPrice = $product-&gt;{&quot;manualPrice&quot;};
      
          $url = &quot;https://system-url.de/myId/products/&quot;.$id;
  
          $curl = curl_init($url);
          curl_setopt($curl, CURLOPT_URL, $url);
          curl_setopt($curl, CURLOPT_PUT, true);
          curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  
          $headers = array(
              &quot;Authorization: Bearer &quot;.$this-&gt;getToken(),
              &quot;Content-Type: application/json&quot;,
          );
          curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
  
          $obj = [
              &quot;sku&quot;=&gt; $sku,
              &quot;title&quot;=&gt; [
                  &quot;de_DE&quot;=&gt; &quot;Claude&quot;
              ],
              &quot;infiniteInventory&quot;=&gt; $infiniteInventory,
              &quot;images&quot;=&gt; $images,
              &quot;category&quot;=&gt; $category,
              &quot;adaptivePrice&quot;=&gt; $adaptivePrice,
              &quot;manualPrice&quot;=&gt; $manualPrice
          ];
  
          $obj = json_encode($obj);
  
          $data = &lt;&lt;&lt;DATA
              $obj
          DATA;
  
          curl_setopt($curl, CURLOPT_POSTFIELDS, $obj);
  
          //for debug only!
          curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
          curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
  
          curl_getinfo($curl);
          
          $resp = curl_exec($curl);
          curl_close($curl);
          var_dump($resp);
  
          return;
      }
  </code></pre>