Referensi Metode HTTP
Panduan lengkap metode HTTP — GET, POST, PUT, DELETE, PATCH, dan lainnya.
Retrieves a resource without modifying server state. The most commonly used HTTP method.
Kasus penggunaan: Fetching a webpage, API data, or file.
Submits data to the server to create a new resource or trigger a process.
Kasus penggunaan: Form submission, creating a new record via API.
Replaces the entire target resource with the request payload.
Kasus penggunaan: Updating a user profile — replaces all fields.
Partially modifies a resource — only sends the fields that need updating.
Kasus penggunaan: Updating only the email of a user record.
Removes the target resource from the server.
Kasus penggunaan: Deleting a blog post or API record.
Same as GET but returns only headers, not the response body.
Kasus penggunaan: Checking if a URL exists or getting Content-Length.
Describes the communication options for the target resource. Used in CORS preflight.
Kasus penggunaan: CORS preflight requests.
Performs a message loop-back test along the path to the target resource.
Kasus penggunaan: Debugging proxy chains (rarely used, often disabled).
Establishes a tunnel to the server identified by the target resource.
Kasus penggunaan: HTTPS tunneling through HTTP proxies.
Comments & Feedback
Comments are powered by Giscus. Sign in with GitHub to leave a comment.