LuatOS Development: HTTP Example

LuatOS Development: HTTP Example

Read the latest documentation and participate:[Document Error Reporting for Rewards] Activity The latest document content can be found at: https://docs.openluat.com/air724ug/luatos/app/socket/http 1.Overview of HTTP This section provides a brief introduction to HTTP. For more detailed explanations or protocol documents, please refer to relevant websites or documents. 1.1 HTTP Request Methods The HTTP/1.1 protocol defines eight methods … Read more

Using PromQL in Prometheus HTTP API

Using PromQL in Prometheus HTTP API

The current stable HTTP API of Prometheus can be accessed via /api/v1. API Response Format The Prometheus API uses JSON format for response content. When the API call is successful, it will return a 2xx HTTP status code. Conversely, when the API call fails, it may return the following different HTTP status codes: 404 Bad … Read more

Introduction to Java Networking: Creating a Weather Plugin with HttpClient

Introduction to Java Networking: Creating a Weather Plugin with HttpClient

Click the little blue text to follow! Hello everyone, today I will take you to play with something interesting—using Java to get weather forecasts! Don’t worry, this is not some profound technology; it’s just sending a network request to fetch some data. Remember those weather apps quietly sitting on your phone? The core principle behind … Read more

Water Quality Detection Based on ESP8266 (MQTT Reporting Mini Program and HA)

Water Quality Detection Based on ESP8266 (MQTT Reporting Mini Program and HA)

In the previous article, we discussed reading data from water quality sensors based on Arduino. For details, you can read the historical articles. However, due to the limitations of Arduino, it cannot upload data to the network. Therefore, this article presents a method for configuring a water quality sensor based on ESP8266 for data reporting. … Read more

Flask3 HTTP Request Handling – Response Formats & Client State Information Cookies with Encryption

Flask3 HTTP Request Handling - Response Formats & Client State Information Cookies with Encryption

Hello everyone, I am python222_Feng, and I have recently updated the Flask3 series course on Python Web development. Thank you for your support. Update address on Bilibili: https://www.bilibili.com/video/BV1XGwXeYEYY/ Click the public account card 【Python222】 below, Reply: 888, 👇👇 to get Feng's Python video package download 👇👇 👆👆👆Click the card above Reply '888' to get it … Read more

Create a Study Plan Tool with Python for Efficient Exam Preparation

Create a Study Plan Tool with Python for Efficient Exam Preparation

Last night, I couldn’t sleep due to the upcoming exams. I kept thinking about how to efficiently review in a short time, and suddenly it hit me: why not use Python to create a small tool to help me formulate a study plan? Without hesitation, I jumped up and started coding. Time Management Master: datetime … Read more

Tips for Parameter Storage in Embedded Devices

Click on the “Embedded Application Research Institute” above, select “Pin/Star the Official Account“ Practical Benefits, Delivered First-Hand! Source | CSDN Passing Bear Compiled & Formatted | Embedded Application Research Institute 1. Introduction Those involved in embedded product development must have encountered the need to save device parameters. A common approach is to manage parameters using … Read more

Everything You Need to Know About Using CMake in Android

Everything You Need to Know About Using CMake in Android

Today’s Tech News Recently, Google held its hardware launch event in New York, themed “Made By Google,” unveiling a series of new hardware products including the Pixel phone, a 2-in-1 tablet, and speakers. Over the past month, the four major tech giants in the U.S., including Google, Microsoft, Apple, and Amazon, have successively released their … Read more

CLion Tutorial – CMake Performance Analysis

CLion Tutorial - CMake Performance Analysis

Through CMake performance analysis, you can identify the most time-consuming operations when reloading projects and optimize your CMake scripts when necessary. Performance analysis is applicable to CMake version 3.18 and above. CMake stores results in Google’s tracing event format. CLion’s integrated features can help you run traces and visualize the results. Performance analysis is not … Read more