Question-Answering

FREEMIUM
By webknox
Updated 4 months ago
Communication
5.9/10
Popularity Score
24529ms
Latency
70%
Success Rate
srikrishna_saal8 months ago
API returns a null string for "Test EndPoint" button in the demo pageI just signed up for the Answering service and not even the button in the demo page gives an answer. I got response.body = { "a":"" } Please let me know what I should do now. I need a resolution immediately. Further more, I signed up for 20 free requests and already spent 8 calls in vain. Please help me out. thanks, Sri
webknox8 months ago
Looking at that I'm afraid that this is nothing that can be easily fixed right now. Please do not use this API/endpoint if that is required. I am sorry for the inconvenience.
webknox8 months ago
Thanks for bringing this to our attention. I will look into the issue asap.
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