Using the Built-in HTTP Client in JetBrains IDE: A Tutorial

Using the Built-in HTTP Client in JetBrains IDE: A Tutorial

Introduction In modern development processes, testing API interfaces has become a daily necessity. The built-in HTTP client feature in JetBrains IDE allows you to initiate requests and debug responses directly in the editor without switching to external tools like Postman or Insomnia. This feature is lightweight and efficient, supporting a range of scenarios from simple … Read more

How to Implement Your Own HTTP Client in PHP

Overview Break free from rigid dependencies in PHP SDKs. Learn how to use PSR-7, PSR-17, and PSR-18 standards along with php-http/discovery, allowing users to utilize their preferred HTTP clients, whether it’s Guzzle, Symfony HttpClient, or others. This is a must-read for PHP and Symfony developers. This article discusses practical tips for SDK developers to allow … Read more

IntelliJ IDEA Http Client Tool Usage Tutorial

Today I suddenly discovered a useful tool that can replace Postman, so I immediately started using it. The tool is used in IntelliJ IDEA 2025.2 Edit the<span><span>generated-requests.http</span></span> file GET example: ### Query user listGET http://localhost:8080/api/v1/getUsers ### Query userGET http://localhost:8080/api/v1/getUser?id=1 POST example: ### Save userPOST http://localhost:8080/api/v1/saveUserContent-type: application/json;charset=UTF-8 { "name": "Zhang San", "age": 18} ### Save user … Read more

LuYao.TlsClient: An HTTP Client Library Providing TLS Fingerprint Simulation

LuYao.TlsClient A .NET TLS client library based on bogdanfinn/tls-client, which calls a Go-compiled dynamic link library through native interop (P/Invoke), providing advanced TLS fingerprint simulation capabilities. Project Overview LuYao.TlsClient is a cross-platform .NET library that allows developers to utilize advanced TLS client features in .NET applications. This library encapsulates the functionality of the tls-client Go … Read more

Goodbye cURL! Practical GuzzleHttp Encapsulation: One-Click API Requests in GET/POST Dual Mode

Introduction use GuzzleHttp\Client; GET Request $response = (new Client())->get('https://xxx.com/api/ping');$status = $response->getStatusCode();$content = $response->getBody()->getContents();dd($status,$content); Encapsulation use GuzzleHttp\Client;use GuzzleHttp\Exception\GuzzleException; class HttpHelper{ /** * Initiate a GET request * * @param string $url Request URL * @param array|null $query GET parameters (automatically appended to URL) * @param array $headers Custom request headers * @return array ['status' => int, … Read more

Analysis of HTTP Client POST Request Timeout Issues Caused by JDK Upgrade

A minor version upgrade of JDK, on CentOS systems led to timeout issues with third-party interface requests exposed to the outside environment, with no exceptions found in the logs, causing the interface to remain blocked.1. The scenario was reproduced, revealing that each time the request header was created, it remained blocked. SecureRandom secureRandom = new … Read more

LuYao.TlsClient: An HTTP Client Library with TLS Fingerprint Simulation Features

LuYao.TlsClient A .NET TLS client library based on bogdanfinn/tls-client, which calls a Go-compiled dynamic link library through native interop (P/Invoke), providing advanced TLS fingerprint simulation capabilities. Project Overview LuYao.TlsClient is a cross-platform .NET library that allows developers to utilize advanced TLS client features in .NET applications. This library encapsulates the functionalities of the tls-client Go … Read more

HTTPX: The Next-Generation HTTP Client for Python

HTTPX is a powerful HTTP client library for Python 3 that integrates a command-line client, supports HTTP/1.1 and HTTP/2, and provides both synchronous and asynchronous APIs. This article will detail the features, usage, and packaging process of HTTPX. 1. Core Features of HTTPX The design goal of HTTPX is to be a modern, fully-featured HTTP … Read more

Node.js HTTP Client Memory Leak Issue

Recently, a developer in the community submitted an issue regarding a memory leak in the HTTP module, which affects the Node.js HTTP client. However, this is a rather special scenario that generally does not occur unless the server maliciously attacks the client. A pull request (PR) has recently been submitted to fix this issue, and … Read more

Ditch OkHttp and HttpClient: This Lightweight HTTP Tool is Incredibly Useful

Ditch OkHttp and HttpClient: This Lightweight HTTP Tool is Incredibly Useful

Using okhttp, httpClient, or RestTemplate to initiate HTTP requests directly in a SpringBoot project is cumbersome and inconvenient for unified management. Therefore, I recommend a lightweight HTTP client framework suitable for SpringBoot projects: retrofit-spring-boot-starter. It is very simple and convenient to use, while also providing many enhanced features. The project has currently been updated to … Read more