Tag

Request

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 24, 2024 · Backend Development

Common HTTP Request and Response Headers Explained

This article provides a comprehensive overview of common HTTP request and response headers, explaining their purposes, typical usage, and example syntax, helping developers prepare for interviews and deepen their understanding of web communication fundamentals.

BackendHTTPHeaders
0 likes · 9 min read
Common HTTP Request and Response Headers Explained
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 7, 2024 · Frontend Development

Comprehensive Guide to Encapsulating API Requests with Axios and TypeScript

This article explains why and how to wrap asynchronous API calls in a reusable TypeScript utility using Axios, covering request flow analysis, interceptor design, unified GET/POST/PUT/DELETE helpers, development order, and complete source code examples for a maintainable frontend architecture.

APIAxiosHTTP
0 likes · 14 min read
Comprehensive Guide to Encapsulating API Requests with Axios and TypeScript
Laravel Tech Community
Laravel Tech Community
Mar 3, 2022 · Backend Development

PHP Request and Response Classes for CRUD Operations

This article explains how to implement a PHP Request class that handles CRUD operations based on HTTP methods, a Response class that formats output as JSON, XML, or HTML, and an index entry point that ties the two together for a simple API.

APIBackendCRUD
0 likes · 6 min read
PHP Request and Response Classes for CRUD Operations
Laravel Tech Community
Laravel Tech Community
Nov 2, 2021 · Backend Development

fastcgi_finish_request — Flush All Response Data to the Client (PHP)

The PHP function fastcgi_finish_request flushes all pending response data to the client and terminates the request, allowing the server to continue executing time‑consuming tasks after the client connection has closed, and returns TRUE on success or FALSE on failure.

FastCGIRequestflush
0 likes · 1 min read
fastcgi_finish_request — Flush All Response Data to the Client (PHP)
FunTester
FunTester
Aug 11, 2021 · Fundamentals

Understanding HTTP Request and Response: A Study Note

This note provides a comprehensive overview of HTTP protocol, detailing request and response structures, including headers, body content, status codes, and common pitfalls, supplemented with illustrative screenshots and links for further reading.

BackendHTTPRequest
0 likes · 8 min read
Understanding HTTP Request and Response: A Study Note
Laravel Tech Community
Laravel Tech Community
Jul 23, 2020 · Backend Development

Using PHP stream_context_create to Configure HTTP Options and Send Requests

This article explains PHP's stream_context_create function, detailing its purpose, parameters, and return value, and provides two complete examples showing how to configure HTTP options, send GET and POST requests, and process the response using fopen or file_get_contents.

ExampleHTTPPHP
0 likes · 3 min read
Using PHP stream_context_create to Configure HTTP Options and Send Requests
360 Quality & Efficiency
360 Quality & Efficiency
Feb 22, 2017 · Backend Development

Using Python urllib and urllib2 for Data Transfer, Headers, Cookies, and Proxy Configuration

This article explains how Python's urllib and urllib2 modules differ and demonstrates practical techniques for sending HTTP requests, encoding query strings, setting custom headers, handling JSON payloads, managing cookies, and configuring proxies using Request objects and build_opener handlers.

BackendHTTPHeaders
0 likes · 4 min read
Using Python urllib and urllib2 for Data Transfer, Headers, Cookies, and Proxy Configuration