RapidAPI logo

Sign Up

Log In

FaceMark

FREEMIUM
By apicloud
Updated 3 months ago
Media
7.2/10
Popularity Score
1229ms
Latency
98%
Success Rate
lrg34 months ago
Full-stack DeveloperYour API is reporting an error message. When will this be correct? Thank you,
apicloud3 months ago
Hi Irg3. Sure, let us help. Please report what error message do you get.
Hi Developer, feel free to post your answer:
Log inSign up

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://apicloud-facemark.p.rapidapi.com/process-file.json")
.header("X-RapidAPI-Host", "apicloud-facemark.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