POST parameters not received in drupal module I am sending a POST to a Drupal module. How can I receive the parameters values in the module and display?

I have tried using $val = $_REQUEST[''], $_POST[''], $_GET[''] but it is just showing the null value.

I want to get the POST request and send the response back in JSON.

function module_menu(){  
  $items = array();  
  $items['page-json'] = array(  
  'title' =&gt; 'JSON Output',  
  'page callback' =&gt; 'json_page',  
  'page arguments' =&gt; array(1),  
  'access callback' =&gt; TRUE,  
);  
  return $items;  
}  
function json_page(){  
  $dt = $_REQUEST['param'];  
  return drupal_json($dt);  
}
You cannot use an empty string with those super global variables. You need to use a string that is the parameter you request, such as in $_GET['q'], or $_REQUEST['q'].