Dad Jokes

FREEMIUM
By KegenGuyll | Updated 2 months ago | Entertainment
Popularity

9.6 / 10

Latency

392ms

Service Level

100%

Health Check

100%

Back to All Discussions

Can you post an example?

Rapid account: Promobius
promobius
3 years ago

Iโ€™m using VS2019 and I canโ€™t actually figure out what to do, when I run a console app all I get back is,
"Try /random_joke, /random_ten, /jokes/random, or /jokes/ten"
how do i actually access the content? here is my method to pull the api:

public static void DadQuote()
{
var client = new HttpClient();
var DadJokeURL = โ€œhttps://us-central1-dadsofunny.cloudfunctions.net/DadJokesโ€;
var DadJokePull = client.GetStringAsync(DadJokeURL).Result;

        Console.WriteLine($"{DadJokePull}");

}

Join in the discussion - add comment below:

Login / Signup to post new comments