A web API needs a standard way to say what action a request wants and how it turned out. Methods like GET and POST describe the action, and status codes like 200, 404 and 500 describe the result. Use them when you design or debug a REST API, for example returning 201 after creating a user. A common mistake is using GET for actions that change data, or returning 200 with an error message inside the body.