Dad Jokes

फ्रीमियम
द्वारा KegenGuyll | अपडेट किया गया vor 15 Tagen | Entertainment
लोकप्रियता

9.6 / 10

लेटेंसी

330ms

सेवा का स्तर

100%

Health Check

100%

सभी चर्चाओं पर वापस जाएं

Can you post an example?

Rapid account: Promobius
promobius
vor 3 Jahren

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

}

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें