ColorTag

FREEMIUM
By apicloud
Updated 5 months ago
Media
8.5/10
Popularity Score
2606ms
Latency
96%
Success Rate
dkinsk2 years ago
ColorTag API not respondingHi guys , the Color Tag api was working fine this morning but suddenly im getting 504 responses. Does it have to do with my subscription plan? Or is the server down? Thank you . Daniel
apicloud2 years ago
Hi Daniel, Neither our servers, nor Mashape have indicated downtime. Probably that was some minor hiccup, and now everything works fine. If you still experience any problems, please come back to us and we will fix it.
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-colortag.p.rapidapi.com/tag-file.json")
.header("X-RapidAPI-Host", "apicloud-colortag.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("palette=simple")
.send("sort=relevance")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication