Search⌘ K
AI Features

Allowed HTTP Methods

Understand what HTTP methods to judiciously allow for better security as REST APIs are built on HTTP methods.

In this lesson, we’ll try to understand why we should restrict the use of some HTTP methods. So, first, let’s have a primer on the HTTP methods used in REST—which are safe, which are idempotent, and which are cacheable.

HTTP/HTML

Hypertext Transfer Protocol (HTTP) ...