
icanhazdadjoke
Dad Joke CLI
Dad Jokes Bot
ASCII Art Weather
Resend
fzf
Deno
Mastodon
Nullstack
Deno
icanhazdadjoke
NullstackNo features have been listed yet.
No icanhazdadjoke videos yet. You could help us improve this page by suggesting one.
Based on our record, icanhazdadjoke seems to be more popular. It has been mentiond 15 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
Why does icanhazdadjoke return HTML instead of JSON? Because it uses content negotiation. The same URL, https://icanhazdadjoke.com/, returns a full HTML page under the default Accept header and returns JSON only when you send Accept: application/json. Both are HTTP 200. If you call resp.json() without setting that header, it fails on a successful response. Send the header explicitly. - Source: dev.to / 12 days ago
Import asyncio From httpx import Response Import httpx Async def get_dad_joke_httpx(client: httpx.AsyncClient, semaphore: asyncio.Semaphore) -> str: async with semaphore: response: Response = await client.get("https://icanhazdadjoke.com/", headers={ "Accept": "text/plain" ... - Source: dev.to / 8 months ago
Configure it with response format as JSON. URL: https://icanhazdadjoke.com/, method: GET. - Source: dev.to / about 1 year ago
// src/loaders/jokes.ts Import type { Loader } from 'astro/loaders'; Export const jokesLoader: Loader = { name: 'jokes', load: async (context) => { const response = await fetch('https://icanhazdadjoke.com/', { headers: { Accept: 'application/json', }, }); const json = await response.json(); context.store.set({ id:... - Source: dev.to / over 1 year ago
Const jokeElement = document.getElementById('joke'); Const jokeBtn = document.getElementById('jokeBtn'); Async function fetchJoke() { try { const response = await fetch('https://icanhazdadjoke.com/', { headers: { 'Accept': 'application/json' } }); const data = await response.json(); jokeElement.textContent = data.joke; } catch (error)... - Source: dev.to / almost 2 years ago
Dad Joke CLI - The freshest dad jokes. Straight to your terminal.
Deno - A secure runtime for JavaScript and TypeScript built with V8, Rust, and Tokio.
Dad Jokes Bot - Text "Dad Jokes" to 631-954-2447 ๐
ASCII Art Weather - Get the weather information in ASCII art
Resend - Email for developers
fzf - A command-line fuzzy finder written in Go