title: HTTPS request with query strings in NodeJS
body: <p>I am trying to make a request to an API using the <code>get</code> method in the https module.</p>
  
  <p>Looking at <a href="https://stackoverflow.com/questions/12851858/https-request-in-nodejs">HTTPS request in NodeJS</a>, I've got a long way, but my request doesn't appear to include the query parameters…</p>
  
  <p>Using the example from above, with my mods:</p>
  
  <pre><code>var $q = require('q'),
      _ = require('lodash'),
      path = require('path'),
      Qs = require('qs'),
      path = require('path'),
      uuid = require('node-uuid'),
      https = require('https');
  
  var params = {
    schema: '1.0',
    form: 'json',
    username: 'name'
  }
  var options = {
    host: 'openshift.redhat.com',
    port: 443,
    path: '/broker/rest/api',
    query: params
  };
  
  var req = https.get(options, function(res) {
  </code></pre>