Network Tools

FREEMIUM
By GuillaumeSMedia
Updated a month ago
Monitoring
-/10
Popularity Score
-
Latency
-
Success Rate

Network Tools API Documentation

Provides network utilities

View API Details
v1
POSThttp-ping
POSThttp-ping

Check if URLs are online

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
HostsJSON_STRING
REQUIREDA list of URLs
Code Snippet
unirest.post("https://network-tools.p.rapidapi.com/http-ping")
.header("X-RapidAPI-Host", "network-tools.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"hosts":["https://www.google.fr","http://[2a00:801:f::195]/"]})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://network-tools.p.rapidapi.com/http-ping
Request Method: POST
Response Headers
Response Body

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.post("https://network-tools.p.rapidapi.com/http-ping")
.header("X-RapidAPI-Host", "network-tools.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"hosts":["https://www.google.fr","http://[2a00:801:f::195]/"]})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication