Загрузка страницы

API TESTING | HTTP METHODS | REAL WORLD USE CASES | QA SDET

GET – Retrieves data from the server.
Use case: Fetch user details or product listings.

POST – Sends data to the server to create a new resource.
Use case: Register a new user or submit a form.

PUT – Replaces an existing resource with new data.
Use case: Update entire user profile.

PATCH – Updates part of a resource.
Use case: Modify a user's email or status.

DELETE – Removes a resource from the server.
Use case: Delete an account or a post.

HEAD – Same as GET, but only returns headers (no body).
Use case: Check if a resource exists or for caching.

OPTIONS – Returns allowed HTTP methods for a resource.
Use case: CORS preflight check or method discovery.

TRACE – Echoes back the request, used for debugging.
Use case: Diagnostics (rarely used, often disabled).

CONNECT – Establishes a tunnel (usually for HTTPS via proxy).
Use case: SSL tunneling through HTTP proxy.

Видео API TESTING | HTTP METHODS | REAL WORLD USE CASES | QA SDET канала Viplove QA - SDET
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки