ZGY
  • Home
  • Blog
Node.js

How to Parse HTML in Node.js

parsing HTML is a common task, especially when we need to extract data or manipulate the DOM from a webpage. Mastering various ways to parse HTML in Node.js can significantly improve the efficiency of extracting and processing webpage data. This article will introduce how to parse HTML in Node.js.
Dec 9, 2024 2 min read
Postman

How to set global request header information in Postman

Key steps in setting global request header information using Postman include adding the required header information to the collection settings page, ensuring the appropriate type and value are selected, adding additional request headers if necessary through JavaScript scripts.
Dec 9, 2024 3 min read
Postman

The differences between form-data, x-www-form-urlencoded, raw, binary, and GraphQL in Postman's Body

This article will delve into the five common Body options in Postman: form-data, x-www-form-urlencoded, raw, binary, and GraphQL, providing detailed explanations of their differences.
Dec 9, 2024 3 min read
Postman

Introduction to Using Request Headers in Postman

In Postman, by opening the application, navigating to the headers section, adding request headers, and setting common request headers like Accept, Authorization, etc., you can send customized HTTP requests.
Dec 9, 2024 3 min read
Postman

How to extract parameters from the request body in Postman Tests?

In Postman, using pm.request.body object makes it easy to extract parameters from the request body. Through example test scripts, you can parse the request body and extract parameters, such as extracting the value of a field named 'name'.
Dec 9, 2024 2 min read
Mac

Top 8 Useful Mac Rename Tools

This article introduces eight top Mac file renaming tools, each offering unique features to efficiently manage and organize files, from simple batch renaming to advanced metadata-based renaming.
Dec 9, 2024 4 min read
Postman

How to Test Cors with Postman

Cross-Origin Resource Sharing (CORS) is a common and crucial challenge. Especially in projects with a separation between front-end and back-end, developers often face the task of handling cross-origin requests.
Dec 9, 2024 3 min read
Windows

Top 5 Useful Windows RSS Tools Recommendations

This article recommends 5 useful RSS tools for Windows users, each offering unique features to enhance the reading experience, from basic subscription management to advanced personalization options.
Dec 9, 2024 3 min read
Next.js

NextJS vs RedwoodJS

Web development frameworks in JavaScript, such as NextJS and RedwoodJS, have gained popularity among developers. Choosing the right framework, library, or tool for a project is crucial for efficient development. Developers often seek the best tools to save time and avoid reinventing the wheel.
Dec 9, 2024 4 min read
JavaScript

JavaScript Operators, Loops, and Flow Control: A Comprehensive Guide

JavaScript Operators, Loops, and Flow Control: A Comprehensive Guide
Dec 9, 2024 7 min read
Postman

How does Postman send a GET request?

The steps to send a GET request using Postman are simple and straightforward: create a new interface and set it to a GET request, fill in the relevant URL address and parameters, and click "Send" to dispatch the request.
Dec 9, 2024 2 min read
Postman

How to send requests in a loop in Postman

We can utilize Postman's Collection Runner feature. When using Postman's Collection Runner, you can specify a collection of requests and set the number of iterations, allowing each request to be executed a specified number of times within the loop.
Dec 9, 2024 2 min read
Postman

How to Use Predefined Variables in Postman?

Postman also includes some predefined variables, such as {{$timestamp}} (current UNIX timestamp), {{$randomInt}} (a random integer), and so on. These variables can be directly used in requests without prior definition.
Dec 9, 2024 2 min read
Postman

How to extract parameters from the response body in Postman Tests?

In Postman, using JavaScript to write test scripts can extract parameters from the response body. By parsing the JSON-formatted response body, you can easily extract the required parameters and optionally store them in environment variables for use in other requests.
Dec 9, 2024 2 min read
Postman

How to pass the current timestamp in Postman?

There are two methods to pass the current timestamp in Postman: either by using the Predefined variable {{$timestamp}} or by obtaining it through scripting and storing it in environment variables. Scripts can utilize the Date object to obtain timestamps.
Dec 9, 2024 3 min read
Postman

How to enable and utilize the Mock server in Postman?

Postman, a robust API development tool, simplifies server simulation with its Mock Servers feature. This article demonstrates enabling, creating, and debugging Mock Servers in Postman: enabling the service, creating a Mock server, and debugging it to view and make requests efficiently.
Dec 9, 2024 3 min read
Postman

How to import a JSON file into Postman?

In the Postman application, importing JSON files is done to quickly configure API requests. Click the 'Import' button, choose a file, folder, link, or paste text, confirm, and complete the import. Note that Postman only supports JSON files in specific formats.
Dec 9, 2024 2 min read
Postman

How does Postman send a PUT request?

The steps to send a PUT request in Postman are relatively simple, including creating a new interface, selecting the PUT method, filling in the URL, and parameters.
Dec 9, 2024 2 min read
Postman

How to convert timestamps in Postman?

In Postman, timestamps can be converted using Moment.js library or native JS. Moment.js offers convenience, being built into Postman and providing the moment.unix(Number) method, while native JS code is slightly more cumbersome.
Dec 9, 2024 2 min read
Postman

How to add a Cookie in Postman?

We've learned two methods for adding Cookies in Postman: manually through Headers and by using the Cookie Manager. These steps are straightforward and ensure that the requests carry the correct Cookie information.
Dec 9, 2024 3 min read
← Newer Posts Page 6 of 6
ZGY © 2025
△