OpenFeign: The HTTP Client Bard!

OpenFeign: The HTTP Client Bard!

OpenFeign: The HTTP Client Bard! Introduction Friends, Niu Ge recently took on a project that requires front-end and back-end separation, using HTTP for communication between microservices. At first glance, there seems to be no problem: we just need to write an HttpClient and add some RestTemplate, right? But once I dived in, I found that … Read more

Httpx: The Future Star of Asynchronous HTTP Requests

Httpx: The Future Star of Asynchronous HTTP Requests

Hello everyone, I am Cat Brother! Today I want to introduce you to a particularly powerful HTTP client library – httpx. It is not only fully compatible with the requests API but also supports asynchronous requests, making it an upgraded version of requests! As a Python developer, mastering this library will definitely enhance your ability … Read more

OkHttp: A Messenger for Java Network Requests!

OkHttp: A Messenger for Java Network Requests!

OkHttp: A Messenger for Java Network Requests! Hello everyone, I am your old friend “Xiao Mage”! Today, let’s talk about OkHttp, the “delivery guy” for Java network requests! Introduction Do you remember when I just transitioned to Java development? Once, my boss asked me to write a data scraping program, and I was completely confused, … Read more

OkHttp: A Messenger for Java Network Requests!

OkHttp: A Messenger for Java Network Requests!

Niu’s Java Kitchen: OkHttp, A Messenger for Java Network Requests! Introduction: From Kitchen to Code, We Need a Reliable Assistant! Today, let’s talk about OkHttp. What is it? If we compare our code to kitchen operations, OkHttp is like the super reliable “delivery person” in the kitchen— the messenger for network requests! It is responsible … Read more

An Elegant and Lightweight HTTP Client Supporting WebSocket and Stomp

An Elegant and Lightweight HTTP Client Supporting WebSocket and Stomp

A lightweight yet powerful HTTP client The description “A lightweight yet powerful HTTP client” can apply to various libraries in different programming languages. Here are some popular HTTP clients that fit this description: Python – `requests`: This is a very popular Python HTTP library that is user-friendly and powerful. – `httpx`: Similar to `requests`, but … Read more

Getting Started with OkHttp for Java Network Requests

Getting Started with OkHttp for Java Network Requests

OkHttp: A Java Network Request Messenger! Introduction: Niu Ge’s Pitfall Diary Hey friends, today Niu Ge wants to talk to you about a Java gem—OkHttp! When Niu Ge first transitioned to Java development, there was a project that required making an API call. I ended up using HttpURLConnection, wrote a bunch of code, and encountered … Read more

Micronaut HTTP Client: A Pioneer in Efficient Java Networking

Micronaut HTTP Client: A Pioneer in Efficient Java Networking

Micronaut HTTP Client: A New Choice for High-Performance Network RequestsIn modern microservices architecture, the HTTP client is a key component that connects various services. The Micronaut framework provides a powerful HTTP client that is not only high-performing but also user-friendly. Let’s delve into this excellent technical solution. Core Features The Micronaut HTTP Client has the … Read more