title: 500 Internal Server Error with curl
body: <p>I've run out of ideas of what might causes the 500 Internal Server Error with cURL</p>
  
  <pre><code>$someString = '7abcd684efg1hi085b7b47dc4e508e99a5edcba9';
  $url = 'http://192.168.254.211:8080/sampleProject/auth/logout/'.$someString;
  $logoutCurl = curl_init($url);
  curl_setopt_array($logoutCurl, 
      array(
          CURLOPT_URL =&gt; $url,
          CURLOPT_POST =&gt; true,
          CURLOPT_HEADER =&gt; false,
          // CURLOPT_RETURNTRANSFER =&gt; true,
          CURLOPT_FOLLOWLOCATION =&gt; true,
          CURLOPT_HTTPHEADER =&gt; array(
              'Content-Type: application/json', 
              'jrr: '.$jrr, 
              'slave: '.$slave,
              'spoil: '.$spoil
          )
      )
  );
  curl_exec($logoutCurl);
  curl_close($logoutCurl);
  </code></pre>
  
  <p>It keeps on giving me the Internal Server error, and it says that it doesn't actually call the server, but I'm sure I'm properly connected to the server as I can successfully login.</p>
  
  <p>Some notes:
  <code>$someString</code> is a string added to the url as it is required by the server.
  <code>$jrr</code>,<code>$slave</code>, and <code>$spoil</code> are required to be pass.
  the server doesn't return or respond anything, I just need to get the 200 status.
  Is there something that I'm missing out on cURL?</p>
  
  <p>thanks!</p>