Tagged articles
HTTP requests
23 articles · Page 1 of 1
Learn how to use PHP's curl_setopt function to configure HTTP requests, covering its syntax, parameter explanations, return values, and a complete example that demonstrates initializing a cURL session, setting options like URL, GET method, timeout, handling responses, and closing the session.
HTTP requestsPHPcurl
0 likes · 4 min read

This article compares the traditional XMLHttpRequest‑based Ajax approach with the modern fetch API, highlighting fetch's Promise‑based syntax, streamlined configuration, flexible response handling, abort capabilities, and important considerations for cookies, error handling, and timeouts.
AJAXFetch APIHTTP requests
0 likes · 5 min read

This tutorial explains how to install Locust, write Python scripts with HttpUser tasks for GET and POST requests, run the tool, configure the web UI, and apply advanced features like custom headers, cookies, and response handling for effective load testing.
HTTP requestsLocustload-testing
0 likes · 5 min read

Learn how to boost code reuse and maintainability in API automation by encapsulating common HTTP methods (GET, POST, PUT, DELETE, etc.) within a Pytest-friendly RequestUtil class, complete with logging, exception handling, session management, dynamic headers, and timeout support, plus practical test examples.
API testingHTTP requestsLogging
0 likes · 11 min read

This guide explains why encapsulating HTTP request methods in Pytest improves code reuse and maintainability, and provides complete Python examples for GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD, and custom requests, plus advanced tips on logging, exception handling, and session management.
API testingHTTP requestsLogging
0 likes · 12 min read

This article explains how the PHP curl_multi_add_handle() function can be used to add multiple cURL handles to a single session, provides its syntax and parameters, and includes a complete example demonstrating initialization, adding handles, executing requests, retrieving responses, and cleaning up.
HTTP requestscurlmulti-handle
0 likes · 5 min read

This article explains how to implement exception handling in Locust to ensure robust test scripts that can handle network timeouts, request failures, and other exceptions effectively.
HTTP requestsLocustPython
0 likes · 4 min read

This article explains how the PHP curl_multi_add_handle() function can be used to add multiple cURL handles to a single session, improving network request efficiency and code maintainability, and provides a complete example with detailed code walkthrough.
BackendHTTP requestsNetworking
0 likes · 5 min read

This article presents 10 practical Python scripts that significantly enhance API automation testing efficiency, covering test case generation, data handling, request management, validation, and reporting.
API testingData‑Driven TestingException Handling
0 likes · 5 min read

This article provides a comprehensive guide to using Python's requests library for API testing, covering basic GET/POST requests, error handling, authentication, and concurrent requests with practical code examples.
API testingAuthenticationConcurrent Programming
0 likes · 6 min read

This article walks through a five‑minute Python web‑scraping tutorial that fetches recipe pages, parses HTML with urllib and BeautifulSoup, extracts titles and images, and wraps the workflow into a simple console application for random meal selection.
BeautifulSoupConsole ApplicationHTTP requests
0 likes · 12 min read


HomeTechAug 3, 2022 · Backend Development
This article details the design and implementation of an API automation testing framework, covering framework structure, execution flow, and usage instructions for testing interfaces.
CI/CD IntegrationHTTP requestsTest Case Generation
0 likes · 6 min read

This article explains how IntelliJ IDEA REST Client can replace Postman for API debugging by offering integrated request consoles, history logs, environment variable support, scriptable assertions, and token handling, providing a unified tool for backend developers to test and share HTTP requests efficiently.
HTTP requestsIDEA REST ClientPostman
0 likes · 8 min read

This tutorial shows how to install the filestools library, use its curl2py command to convert cURL requests into ready‑to‑run Python code, and demonstrates the process with a real‑world example, saving time and avoiding manual copying of headers and parameters.
HTTP requestsautomationcode generation
0 likes · 8 min read

Learn how to use Python’s built-in urllib library for web requests, handling GET/POST, adding headers, managing proxies, processing cookies, handling errors, parsing URLs, and respecting robots.txt, with clear code examples and a practical case of scraping a novel site.
HTTP requestsProxyPython
0 likes · 12 min read

This tutorial walks you through installing Postman, creating and sending API requests to a Spring Boot login endpoint, using variables and environments for flexible testing, and generating code snippets in various languages, providing a practical foundation for everyday backend development tasks.
API testingHTTP requestsPostman
0 likes · 7 min read

This article explains the fundamentals of web crawlers, covering their three main modules, HTTP request composition, flow‑control techniques for large‑scale scraping, content extraction methods for static and dynamic pages, and the current challenges such as interaction hurdles, JavaScript parsing, and IP restrictions.
Content ExtractionHTTP requestsdistributed scraping
0 likes · 13 min read


21CTONov 30, 2017 · Frontend Development
Learn five practical techniques—image optimization, minimizing HTTP requests, proper file placement, CSS/JS compression, and external linking—to dramatically improve website loading times and security, with actionable tips for both beginners and seasoned developers, plus WordPress-specific recommendations.
Frontend OptimizationHTTP requestsWordPress
0 likes · 4 min read

This guide explains urllib2's info() and geturl() methods, demonstrates how to work with Openers and Handlers, and shows how to implement HTTP Basic Authentication with practical Python examples.
Basic AuthenticationHTTP requestsHandlers
0 likes · 5 min read

This article explains how to use Python's urllib2 module to fetch web pages, covering basic request handling, creating Request objects, sending GET and POST data, setting custom headers, and demonstrates practical examples with code snippets and screenshots.
HTTP requestsPythonurllib2
0 likes · 6 min read

This article explains why web performance matters, outlines the 2‑5‑8 response‑time principle, and presents practical front‑end optimization techniques such as reducing HTTP requests, internal page tweaks, caching strategies, download size reduction, and network connection improvements to accelerate user experience.
CachingFrontend OptimizationGZIP
0 likes · 14 min read


21CTONov 19, 2015 · Frontend Development
The article explains why web performance matters, outlines the 2‑5‑8 response time rule, and details five key optimization strategies—reducing HTTP requests, internal page tweaks, caching, minimizing download size, and network improvements—while also discussing engineering practices and tools like StyleCombine and H5 incremental packaging.
CachingFrontend OptimizationHTTP requests
0 likes · 17 min read


21CTONov 4, 2015 · Frontend Development
This article explains why web performance matters, outlines the 2‑5‑8 response time principle, and provides practical front‑end optimization techniques such as reducing HTTP requests, internal page tweaks, caching strategies, gzip compression, and network connection improvements to deliver faster user experiences.
CDNCachingFrontend Optimization
0 likes · 15 min read
