purest | http.cat | |
---|---|---|
1 | 69 | |
548 | 2,707 | |
- | 1.6% | |
2.7 | 7.4 | |
4 months ago | about 1 month ago | |
JavaScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
http.cat
-
Ask HN: Happy 404 Day. Whats your favorite 404 error page?
Cats for other HTTP status codes can be found (or not found :-)) one level up
https://http.cat
- HTTP Area Codes
- Lidando com exceções: como fazer erros práticos e elegantes no Express js
- HTTP Cats
-
What I've learnt in 1 month of programming
Whenever we request data or services from a server, it can respond with status codes represented by numbers. You've probably heard of "404" which means "not found", but there are others like "201 - Created" and "500 - Internal Server Error." During one of my mentoring sessions, I was given a website that showcased all these status codes with kitten memes and a brief description. It was fantastic and helped me grasp each one of those statuses better.
- Entendendo os códigos de status HTTP: Um guia teórico para desenvolvedores
- HTTP Status Dogs. Hypertext Transfer Protocol Response Status Codes. and Dogs
-
NestJS tip: how to inject multiple versions of the same provider into one module (e.g.: many Axios instances)
import { Module, OnModuleInit } from '@nestjs/common' import { HttpModule, HttpService } from '@nestjs/axios' import { CatApi } from './cat-api.service' @Module({ imports: [ HttpModule.register({ // line A timeout: 1_000, maxRedirects: 2, baseURL: 'https://http.cat', }), ], providers: [ { provide: CatApi, useExisting: HttpService, // line B } ], exports: [CatApi], // line C }) export class CatApiModule implements OnModuleInit { constructor(private readonly httpService: HttpService) {} onModuleInit() { this.httpService.axiosRef.defaults.headers.common['Accept'] = 'application/json' } }
- I'm a Teapot
- 15 May 2023 - Daily Chat Thread
What are some alternatives?
axios - Promise based HTTP client for the browser and node.js
httpstatuses - A directory of HTTP Status Codes and code references
node - Node.js JavaScript runtime ✨🐢🚀✨
hiddentools - ✨ Discover a wide collection of unique tools
http-proxy - A full-featured http proxy for node.js
rockstar - The Rockstar programming language specification
ExpressWebJs - ExpressWebJs provides the starting point for creating your Node / Bun project, allowing you to focus more on developing your amazing solution. ⭐️ Star to support our work!
just-api - :boom: Test REST, GraphQL APIs
request - 🏊🏾 Simplified HTTP request client.
curriculum - The open curriculum for learning web development
node-libcurl - libcurl bindings for Node.js
dredd - Language-agnostic HTTP API Testing Tool