title: Their was an error in evaluation the Pre-request Script: Cannot read property 'get' of undefined
body: <p>I'm trying to access the response of my POST request in Postman via Pre-request Script.</p>
  
  <p><strong>Script given below :</strong></p>
  
  <pre><code>var mobiles = postman.environment.get("mobiles");
  
  if (!mobiles)
    {
      mobiles =["8824444866","8058506668"];  
    }
  
  var currentMobile = mobiles.shift();
  postman.environement.set("mobile","currentMobile");
  postman.environement.set("mobiles",mobiles);
  </code></pre>
  
  <p>When I click on Send button, in the postman it shows an error, which is given below:</p>
  
  <blockquote>
    <p>Their was an error in evaluation the Pre-request Script: Cannot read
    property 'get' of undefined.</p>
  </blockquote>
  
  <p>Please suggest some solution</p>