HTTP Methods
Definition
Standard request methods that indicate the desired action on a resource. GET retrieves data, POST creates, PUT/PATCH updates, DELETE removes. Each method has semantics about safety and idempotency.
Code Example
Learn More
Related Terms
Application Programming Interface — a set of rules and endpoints that allow different software systems to communicate. Web APIs typically use HTTP methods (GET, POST, PUT, DELETE) to exchange data in JSON format.
RESTRepresentational State Transfer — an architectural style for designing networked APIs. RESTful APIs use HTTP methods to perform CRUD operations on resources identified by URLs. Responses are typically JSON.
FetchThe modern browser API for making HTTP requests. fetch() returns a Promise that resolves to the Response object. It replaces the older XMLHttpRequest (XHR) and works with async/await.