FaceRect

FREE
By apicloud
Updated 23 days ago
Media
9.2/10
Popularity Score
2289ms
Latency
97%
Success Rate
Meghan923 years ago
HTTP 504 on POSTHello My timeout is set very high and I am still getting a 504 error. I am using unirest 1.1.7 Can you please help? Thank you
apicloud3 years ago
Hi Meghan, It may depend on many things. Could you please share the link to an image or an image you feed?
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-facerect.p.rapidapi.com/process-file.json")
.header("X-RapidAPI-Host", "apicloud-facerect.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