Jokes

FREEMIUM
By webknox
Updated 4 months ago
Entertainment
7.3/10
Popularity Score
269ms
Latency
94%
Success Rate
pk464311a year ago
Jokes api resultHi, I took jokes API, I have a question about when we hit the search API more than one times, response (jokes value) is same each hit. Can you help how we will get different jokes value on each hit? Thanks, Deepak Chaube +91 9807177529
webknoxa year ago
Hi, Use https://market.mashape.com/webknox/jokes#get-a-random-joke
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