FaceMark

FREEMIUM
By apicloud
Updated 5 months ago
Media
7.4/10
Popularity Score
4924ms
Latency
92%
Success Rate
lrg36 months ago
Full-stack DeveloperYour API is reporting an error message. When will this be correct? Thank you,
apicloud5 months ago
Hi Irg3. Sure, let us help. Please report what error message do you get.
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.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