Dad Jokes

부분 유료
분류별 KegenGuyll | 업데이트됨 il y a 15 jours | Entertainment
인기

9.6 / 10

지연 시간

330ms

서비스 수준

100%

Health Check

100%

모든 토론으로 돌아가기

Can you post an example?

Rapid account: Promobius
promobius
il y a 3 ans

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

}

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입