Securitylabβ€’September 6, 2026β€’πŸ‡·πŸ‡ΊTranslated from Russian

HTTP Methods Explained: GET, POST, PUT, PATCH, DELETE and the New QUERY Standard

HTTP methods tell a server what action a client wants to perform on a resource. This can include retrieving a page, submitting data, replacing an object, modifying part of it, deleting it, or executing another type of request.

In early explanations, HTTP is often simplified as β€œGET reads, POST creates, PUT replaces, DELETE deletes.” While useful, this model is incomplete. POST may not create anything, PUT can create a resource, DELETE does not have to physically erase data, and PATCH does not prescribe a specific change mechanism.

The primary semantics of HTTP are described in RFC 9110. In addition to common methods, extensions exist for WebDAV, calendars, versioning, and other protocols. In June 2026, the new standardized QUERY method appeared, intended for complex requests that carry a body.

Safe and Idempotent Methods

Before examining individual methods, two key properties are important. A method is considered safe when it must not change the state of the resource at the client’s request. Safe methods include GET, HEAD, OPTIONS, TRACE, and QUERY.

Idempotent methods can be repeated multiple times with the same expected final effect as a single execution. GET, HEAD, PUT, DELETE, OPTIONS, TRACE, and QUERY are idempotent.

The following table summarizes the main methods and their properties:

  • GET – retrieve a resource – safe: yes – idempotent: yes
  • HEAD – retrieve headers without body – safe: yes – idempotent: yes
  • POST – submit data for processing – safe: no – idempotent: no
  • PUT – replace a resource – safe: no – idempotent: yes
  • PATCH – partial modification – safe: no – idempotent: no
  • DELETE – delete a resource – safe: no – idempotent: yes
  • OPTIONS – retrieve resource capabilities – safe: yes – idempotent: yes
  • TRACE – diagnose HTTP chain – safe: yes – idempotent: yes
  • CONNECT – create a tunnel – safe: no – idempotent: no
  • QUERY – safe request with body – safe: yes – idempotent: yes

GET is used to obtain a representation of a resource. Browsers load pages and images via GET, applications fetch API records, and search engines request results. Because it is safe and idempotent, caches and crawlers assume repeated calls will not alter application state.

HEAD is similar to GET but omits the response body. It is used when only metadata such as status, content type, size, or ETag is needed.

POST submits data to a resource for processing. It can create users or orders, submit forms, upload files, initiate payments, or start computations. POST is neither safe nor idempotent, so repeated requests may trigger duplicate operations.

PUT sends a complete new representation of a resource. It is idempotent and may also create a resource if none exists at the target URI.

PATCH, defined in RFC 5789, allows partial resource changes. Two common formats are JSON Merge Patch (RFC 7396) and JSON Patch (RFC 6902). Servers advertise supported formats via the Accept-Patch header.

DELETE requests removal of a resource. Implementations may physically delete data, mark it as deleted, or archive it. The method remains idempotent regardless of the internal storage approach.

OPTIONS queries the capabilities of a server or resource and is commonly seen in CORS preflight requests.

TRACE provides diagnostic information by returning the request as received by the server. It is rarely used in modern applications.

CONNECT establishes a tunnel through an HTTP intermediary, classically used for HTTPS via proxies.

The QUERY method, standardized in RFC 10008 in June 2026, enables safe requests that carry a body. It solves the problem of complex searches that previously had to be sent via POST, preserving correct semantics for caches and proxies. The Accept-Query header allows servers to declare supported content formats.

WebDAV and other extensions add further methods such as PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, and UNLOCK. Additional methods exist for calendaring and versioning. The IANA registry lists dozens of registered methods, demonstrating that HTTP continues to evolve.

Related articles

AntiMalwareβ€’Other

Minecraft Creator Notch Shifts Stance on AI, Hits Claude Usage Limits While Developing New Project

Minecraft creator Markus Persson, known as Notch, has publicly asked Anthropic to raise token limits and processing speed for Claude after adopting AI-assisted development. Just months earlier, he had strongly criticized the use of generative AI for coding and questioned the skills of developers who relied on it. Persson announced the request on X on November 23, with the post quickly gaining nearly 4.8 million views. He stated he is willing to pay extra for expanded access because he is working on an unprecedented project whose details remain undisclosed. The developer had previously urged others to reject AI tools in July before experimenting with vibe coding in late July and acknowledging its benefits by September. His change in position drew mixed reactions from followers, some of whom expressed disappointment over AI use in game development.

Habrβ€’Other

Tantor Polar Implements Advanced Disaster Recovery Using DataMax Technology Modeled After Oracle Data Guard and Far Sync

Tantor Polar, a specialized edition of Tantor Postgres used in the Tantor XData Gen3 database machine, separates storage and compute layers with shared storage architecture. Primary nodes generate WAL while replica nodes receive only metadata, making WAL the single source of truth for cluster consistency. DataMax serves as an intermediate cluster node that stores a second copy of WAL and forwards it downstream without replaying records, reducing resource costs compared to traditional standby servers. This design directly mirrors Oracle Far Sync paired with Data Guard, enabling zero-data-loss failover when remote standbys lag. The implementation solves PostgreSQL limitations around transaction epochs and WAL retention horizons by borrowing state from the primary via extended replication messages. Initial setup uses initdb to set matching system identifiers without requiring pg_basebackup. Additional mechanisms support timeline history propagation, promote waiting for complete WAL receipt, and flexible synchronous replication policies.

Habrβ€’Other

Why Firewalls Go Blind on TLS 1.3 and QUIC: The Real Cost of Full SSL Decryption in Corporate Networks

A detailed case study from a Russian enterprise network team shows how modern encryption protocols are rendering traditional DPI and NGFW inspection ineffective. With TLS 1.3 now accounting for 88-92% of perimeter traffic, ServerHello and certificates are encrypted, eliminating passive metadata analysis. QUIC over UDP/443 further blinds firewalls, as seen when 342 MB of data exfiltrated undetected from a logistics workstation. Attempts to enable full forward-proxy SSL inspection triggered immediate failures in banking clients, Python/pip, git, Docker builds, and spiked CPU usage from 19% to 64%. The team ultimately adopted selective decryption, UDP/443 blocking to force QUIC fallback, corporate DNS enforcement, and JA4 fingerprinting. This approach reduced load to 28-34% while avoiding widespread application breakage and legal risks from decrypting sensitive personal data.

AntiMalwareβ€’Other

Adobe Acrobat Chrome Extension Triggers Excessive SSD Writes on Windows 11 Even During Idle Periods

A Reddit user identified unusually high disk activity on a Windows 11 system caused by the official Adobe Acrobat extension for Google Chrome. Background Service Worker processes continued writing data to the ServiceWorker CacheStorage directory even when the browser was closed and the computer was idle. Initial diagnostics with PowerShell showed over 300 GB of data processed by Chrome processes across three days, far exceeding the browser's 3.5 GB disk cache size. Using Windows Resource Monitor, the user measured sustained write activity that dropped sharply after the extension was removed, the Service Worker unregistered, and related site data cleared. The issue highlights how misbehaving extensions can accelerate wear on SSDs whose endurance is limited by program/erase cycles. Users can inspect disk activity in the Disk tab of Resource Monitor and review active Service Workers at chrome://serviceworker-internals/.