method
The verb in an HTTP request, like GET (read) or POST (create).
The method names the action of an HTTP request: GET and HEAD are safe, GET, PUT and DELETE are idempotent, POST is neither.
Examples
The sensor uses
POSTto add a new reading; a dashboard usesGETto read the list.The dashboard sets the valve with
PUT /api/benches/bench1/valveand the body{"open_pct":40}.
See also