Image Server

FREEMIUM
By fashionbase
Updated 4 months ago
Data
-/10
Popularity Score
-
Latency
-
Success Rate

Image Server API Documentation

Image Server is a scalable and automated image recognition service.

View API Details
PUTRegister
DELETEUnregister
POSTPair
POSTMatch
PUTRegister

Register image

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
imgSTRING
REQUIREDUrl of the image to register, also works with Binary
idSTRING
REQUIRED
Code Snippet
unirest.put("https://fashionbase-image-server.p.rapidapi.com/api/img/{id}")
.header("X-RapidAPI-Host", "fashionbase-image-server.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);
});
Sample Response
General
Request URL: https://fashionbase-image-server.p.rapidapi.com/api/img/{id}
Request Method: PUT
Response Headers
Response Body

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.put("https://fashionbase-image-server.p.rapidapi.com/api/img/{id}")
.header("X-RapidAPI-Host", "fashionbase-image-server.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