Ditch HttpUtil! Check Out This Elegant HTTP Client Tool!

Ditch HttpUtil! Check Out This Elegant HTTP Client Tool!

Boot+Cloud Project Learning: macrozheng.com When developing projects, even if it’s a monolithic application, we inevitably need to call external services. At this point, we will use HTTP client tools. Previously, I used HttpUtil from Hutool, which, while easy to get started with, can be quite cumbersome! Today, I want to share a more user-friendly HTTP … Read more

In-Depth Analysis of HTTP Short and Long Connections

In-Depth Analysis of HTTP Short and Long Connections

In-Depth Analysis of HTTP Short and Long Connections In today’s rapidly developing internet technology, the HTTP protocol serves as the foundation for network communication, and the choice of connection method has a crucial impact on website performance and user experience. This article will explore the differences, advantages, disadvantages, and application scenarios of HTTP short and … Read more

Comprehensive Analysis of the Open Source HTTP Load Testing Tool – Hurl

Comprehensive Analysis of the Open Source HTTP Load Testing Tool - Hurl

Comprehensive Analysis of the Open Source HTTP Load Testing Tool – Hurl Hurl is an open-source command-line tool developed by Orange-OpenSource, designed to define, execute, and test HTTP requests in plain text format. It is popular in API testing, integration testing, and HTTP client scenarios due to its simple syntax and powerful features. Below is … Read more

Obtaining D365 Connection Token via HTTP in Power Automate

Obtaining D365 Connection Token via HTTP in Power Automate

In a previous article, we discussed the registration of application users. Today, we will use the HTTP step in Power Automate to obtain a token based on the application user information for querying D365 OData WebAPI data.Adding Application User in D365Create a new instant cloud flow and select the manual trigger flow.Add [New Step]Select the … Read more

Top 10 Pitfalls to Avoid with C# HttpClient: From Socket Leaks to Performance Optimization

Top 10 Pitfalls to Avoid with C# HttpClient: From Socket Leaks to Performance Optimization

As a C#.NET developer, I have witnessed memory leaks, performance degradation, and even security vulnerabilities caused by improper use of HttpClient. I have made these typical mistakes early in my development career, and after years of practice, I have summarized the following ten common issues and their solutions. 🚨 1. Not Reusing HttpClient Instances (Leading … Read more

ESP32 MicroPython MQTT Development and Testing

ESP32 MicroPython MQTT Development and Testing

1. Connecting ESP32 to the Network Before performing MQTT communication, the ESP32 needs to connect to a WiFi network. Below is the code to connect to WiFi: import network import time def connect_wifi(ssid, password): # Create WiFi client interface wlan = network.WLAN(network.STA_IF) wlan.active(True) # Check if already connected if not wlan.isconnected(): print('Connecting to network…') wlan.connect(ssid, … Read more

Basic Analysis of MQTT Protocol in Embedded Systems

Basic Analysis of MQTT Protocol in Embedded Systems

1.1What is MQTT MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol based on the publish/subscribe model. It is built on top of the TCP/IP protocol and was released by IBM in 1999, with the latest version being v3.1.1. The greatest advantage of MQTT is its ability to provide real-time and reliable messaging services … Read more

Detailed Explanation of MQTT Message Structure and Python Reading Methods

Detailed Explanation of MQTT Message Structure and Python Reading Methods

Detailed Explanation of MQTT Message Structure and Python Reading Methods Introduction In the field of the Internet of Things (IoT), the MQTT (Message Queuing Telemetry Transport) protocol is favored for its lightweight and efficient nature. This article will provide a detailed analysis of the composition of MQTT messages and introduce how to read MQTT message … Read more

Comprehensive Analysis of the MQTT IoT Communication Protocol (Final Part)

Comprehensive Analysis of the MQTT IoT Communication Protocol (Final Part)

[Image] This concludes the technical sharing regarding MQTT. Future updates on the latest developments related to MQTT will be provided periodically. If there are any aspects of MQTT that have not been thoroughly covered or if you have better suggestions, please feel free to leave a comment. We will normally supplement the content based on … Read more

Understanding the Commonly Used MQTT Protocol in IoT

Understanding the Commonly Used MQTT Protocol in IoT

Scan to FollowLearn Embedded Together, learn and grow together Overview 1.1 What is MQTT MQTT (Message Queuing Telemetry Transport) is a lightweight publish/subscribe messaging protocol, developed by Andy Stanford-Clark of IBM and Arlen Nipper of Arcom in 1999, specifically designed for low bandwidth, high latency, or unstable network environments. 1.2 Features Lightweight: The protocol header … Read more