Temporary Disposable E-mail fast and easy API - is a service that allows to receive email at a temporary address that self-destructed after a certain time elapses. It is also known by names like: tempmail, 10minutemail, throwaway email, fake-mail or trash-mail.
To utilize unirest for node.js install the the npm module:
$ npm install unirest
After installing the npm package you can now start simplifying requests like so:
var unirest = require('unirest');
unirest.("https://privatix-temp-mail-v1.p.rapidapi.com") .header("X-RapidAPI-Key", "undefined") .header("Content-Type", "application/x-www-form-urlencoded") .end(function (result) { console.log(result.status, result.headers, result.body); });