The Useful HTTP Client Library OkHttp

The Useful HTTP Client Library OkHttp

OkHttp In Spring Boot development, calling third-party HTTP interfaces is a very common requirement, such as calling microservices or accessing external APIs. Although Spring Boot provides HTTP calling tools like RestTemplate and WebClient, sometimes we may need a lower-level, more flexible, and higher-performance HTTP client library, and OkHttp is a relatively mature solution. Why Choose … Read more

In-Depth Analysis of the MCP Protocol: Three Steps to Achieve Direct HTTP Client Connection, Disrupting Traditional Development Models

In-Depth Analysis of the MCP Protocol: Three Steps to Achieve Direct HTTP Client Connection, Disrupting Traditional Development Models

This article introduces how to connect a custom HTTP client to the MCP server without the MCP client. MCP is a protocol that enables large language models (LLM) to connect to any endpoint, simplifying the connection between developers and external tools. The article details the architectural components of MCP and provides an implementation process, including … Read more

Httpx: The Swiss Army Knife of HTTP Clients in Python

Httpx: The Swiss Army Knife of HTTP Clients in Python

▼ Click the card below to follow me ▲ Click the card above to follow me Httpx: The Swiss Army Knife for Python Network Requests In the realm of network programming, sending HTTP requests is like a fundamental skill for programmers. Today, I want to introduce you to an incredibly powerful library – Httpx. It … Read more

Aiohttp: A Powerful Asynchronous HTTP Library for Python!

Aiohttp: A Powerful Asynchronous HTTP Library for Python!

▼ Click the card below to follow me ▲ Click the card above to follow me Aiohttp: Making Asynchronous Network Programming in Python Super Easy! In modern web applications and web scraping development, efficient network request handling is crucial. Aiohttp is a powerful tool that makes asynchronous network programming effortless. Based on Python’s asyncio framework, … Read more

Verb: Another HTTP REST Client in Emacs

Verb: Another HTTP REST Client in Emacs

Introduction The <span>restclient</span> in Emacs has been archived and is no longer maintained, so we need to look for other packages to replace it. After some searching, I found that federicotdn/verb: HTTP client for Emacs[1] is quite good and also supports <span>org babel</span>. Installation (use-package verb :init (cl-pushnew '(verb . t) load-language-list) :config (define-key org-mode-map … Read more

Httpx: An Asynchronous HTTP Client Library for Python!

Httpx: An Asynchronous HTTP Client Library for Python!

▼ Click the card below to follow me ▲ Click the card above to follow me Httpx, an asynchronous HTTP client, is a powerful tool for Python! When it comes to making network requests, it truly excels. Think about it, previously when you used the requests library, you had to wait for one request to … Read more

High-Performance HTTP Client with asyncio and aiohttp: Implementing Asynchronous Requests

High-Performance HTTP Client with asyncio and aiohttp: Implementing Asynchronous Requests

▼ Click the card below to follow me ▲ Click the card above to follow me High-Performance HTTP Client with asyncio and aiohttp: Implementing Asynchronous Requests Recently, I’ve been enjoying asynchronous programming, and today I want to share something interesting – using asyncio and aiohttp to implement asynchronous HTTP requests. In simple terms, it allows … Read more

HTTP Client Pooling in Go: Connection Reuse Technology and TCP Keep-Alive Mechanism

HTTP Client Pooling in Go: Connection Reuse Technology and TCP Keep-Alive Mechanism

Click the “blue text” above to follow us Have you ever encountered a situation where, during peak service hours, a large influx of users causes the system response speed to slow down to a crawl? The code logic seems fine, so why does it struggle under high concurrency? It’s likely that the issue lies not … Read more

urllib3: A Powerful HTTP Client for Easy Network Requests in Python!

urllib3: A Powerful HTTP Client for Easy Network Requests in Python!

📖 A New Choice for Network Requests In today’s internet era, network requests have become an indispensable part of application development. Whether it’s scraping web data, calling REST APIs, or interacting with remote servers, a reliable HTTP client is essential. However, many developers often feel confused when handling network requests: How to manage connection pools, … Read more

Axios HTTP Library Pushes Broken Update, Causing Thousands of Websites to Crash

Axios HTTP Library Pushes Broken Update, Causing Thousands of Websites to Crash

↓Recommended to follow↓ Source: OSC Open Source Community (ID: oschina2013) Axios is a Promise-based HTTP client for browsers and Node.js. It is very lightweight and provides a simple-to-use library with an easily extensible interface.Recently, the update of version 1.1.0 released by Axios caused thousands of websites to crash due to a broken push to users.According … Read more