title: Webservice not able to parse JSON Request from a PHP file
body: <p>I'm trying to access a webservice. I'm already using this webservice from an android app but now I need to access some functions from a php document. If I use chromes advanced rest client application for testing it works fine if I select the <code>POST</code> option and <code>application/x-www-form-urlencode</code> as content-type. But when I try to access the webservice from my PHP file I get the response from the server that it can't find the value "tag". This is the code: </p>
  
  <pre><code>$data = array( 'tag' =&gt; 'something');
  
  $options = array('http' =&gt; array(
  'method' =&gt; 'POST',
  'content' =&gt; $data,
  'header' =&gt; "Content-Type: application/x-www-form-urlencode")
  );
  
  $context = stream_context_create($options);
  $url = 'myurl';
  $result = file_get_contents($url,false,$context);
  $response = json_decode($result);
  </code></pre>
  
  <p>What is wrong with this code?</p>
  
  <p>Thanks for any help!</p>