title: Netsuite-Suitelet post to restlet get parameters
body: <p>I am executing a restlet by a post request in a suitelet. The restlet runs fine and I am able to pass data back from restlet--->suitelet, but I am unable to pass data from the suitelet to the restlet when I call the restlet.</p>
  
  <p>suitelet</p>
  
  <pre><code>var test = 'test';
  var parameters = {'custscripttest_input':test};
  var apiURL='https://3864948- 
      sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl? 
      script=xxx&amp;deploy=1';
      try{
         var restletResponse=https.post({
         url:apiURL,
         headers:header,
         body:postData,
         params:parameters
       });
  </code></pre>
  
  <p>restlet</p>
  
  <pre><code>    var testInput = 
      runtime.getCurrentScript().getParameter({name:'custscripttest_input'});
  </code></pre>
  
  <p>No parameters show in runtime.getCurrentScript. I have created the parameter in the restlet script record.</p>
  
  <p>I have also tried passing body data and retrieving in the restlet like so:</p>
  
  <pre><code>       var data = context.request.parameters
  </code></pre>