How to use the postman-request function in postman-request

To help you get started, we’ve selected a few postman-request examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github postlight / mercury-parser / src / resource / utils / fetch-resource.js View on Github external
return new Promise((resolve, reject) => {
    request(options, (err, response, body) => {
      if (err) {
        reject(err);
      } else {
        resolve({ body, response });
      }
    });
  });
}

postman-request

Simplified HTTP request client.

Apache-2.0
Latest version published 11 months ago

Package Health Score

81 / 100
Full package analysis