Question-Answering

FREEMIUM
By webknox
Updated 4 months ago
Communication
5.9/10
Popularity Score
24529ms
Latency
70%
Success Rate
mykinatora year ago
The Question API returns "I don't know" for everythingEven the sample question: "Where is Los Angeles?" now returns "I don't know". The API was working until yesterday. Thanks
webknoxa year ago
You can try setting answerSearch=true
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.get("https://webknox-question-answering.p.rapidapi.com/questions/answers?answerLookup=false&answerSearch=false&question=Where+is+Los+Angeles%3F")
.header("X-RapidAPI-Host", "webknox-question-answering.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication