StatDNS

PAID
By fcambus
Updated 5 months ago
Tools
7.9/10
Popularity Score
277ms
Latency
93%
Success Rate
haroldo89a year ago
502 ERRORHi, Im getting 502 error. What's going on?
fcambusa year ago
This should be fixed now, thanks for reporting the issue.
Hi Developer, feel free to post your answer:

Install SDK for NodeJS

Installing

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');

Creating Request

unirest.get("https://statdns-v1.p.rapidapi.com/{domain}/{querytype}")
.header("X-RapidAPI-Host", "statdns-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication