title: Not able to post data to suitelet from client in suitescript 2.0
body: <p>I am calling suitlet form client but it's not posting data .. from client to suitelet.. but log is printed that post method was called.. just data is not passing. Am i doing something wrong. Log hello is printed but no data </p>
  
  <pre><code>var postData={'hello':'hi'};
  
      postData=JSON.stringify(postData);
  
      var header=[];
      header['Content-Type']='application/json';
  
      var suiteletURL = urlresolve.resolveScript({
          scriptId:'customscript2289', 
          deploymentId: 'customdeploy1'
          });
  
      try{
  
      var response=https.post({
          url: suiteletURL, 
          headers:header,
          body:postData
        });
  
      var newSFID=response.body;
      alert(newSFID);
  
      }catch(ee){
        alert(JSON.stringify(ee));
      }
  </code></pre>
  
  <p>In suitelet</p>
  
  <pre><code>if (context.request.method == 'POST'){  
  
              log.debug ({
               title: 'hello',
               details: context.request.parameters.test
               });
  
               //createReturnAuthorization(record);
  
  
          }   
  </code></pre>