Dad Jokes

免费增值
通过 KegenGuyll | 已更新 14 days ago | Entertainment
人气

9.6 / 10

延迟

338ms

服务等级

100%

Health Check

100%

返回所有讨论

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}");

}

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论