PhantomJs.Cloud - Web Browser and Webpage processing as a Service

FREE
By novaleaf
Updated 5 months ago
Data
7.1/10
Popularity Score
8860ms
Latency
91%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
novaleaf:5 years ago
1 Answer

querystring api doesn't accept boolean data

novaleaf:5 years ago
1 Answer

critical bug in mashape service

novaleaf:5 years ago
2 Answers

pre-release features

novaleaf:5 years ago
0 Answers

Unplanned Outage (now resolved)

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://phantomjscloud.p.rapidapi.com/callback/browser/v1/a-demo-key-with-low-quota-per-ip-address/24ef7bc0093c2c6d58607c64f52bed48")
.header("X-RapidAPI-Host", "phantomjscloud.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication