Jokes

FREEMIUM
By webknox
Updated 4 months ago
Entertainment
7.4/10
Popularity Score
303ms
Latency
95%
Success Rate
tavindersingh2 years ago
Card not acceptedWhen I was filling the card details to subscribe this API, it said my card is rejected. I am using a debit card and I don't know what to do. please help.
webknoxa year ago
Please contact mashape regarding that.
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-jokes.p.rapidapi.com/jokes/search?category=Chuck+Norris&minRating=5&numJokes=5&keywords=kick%2C+hard")
.header("X-RapidAPI-Host", "webknox-jokes.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