Every API request starts with a method — a short word that tells the server what kind of action you want. Hoppscotch lists all the standard methods in the drop-down next to the address bar and also lets you type a custom one. Here is what each means in practice, with examples you can try against the free JSONPlaceholder API.
The quick reference
| Method | Typical meaning | Has a body? | Safe to repeat? |
|---|---|---|---|
| GET | Read a resource or a list | No | Yes |
| POST | Create something new or trigger an action | Yes | No — may create duplicates |
| PUT | Replace a resource completely | Yes | Yes (same result each time) |
| PATCH | Change part of a resource | Yes | Depends on the API |
| DELETE | Remove a resource | Usually no | Yes |
| HEAD | Like GET, but only the headers | No | Yes |
| OPTIONS | Ask which methods and options are allowed | No | Yes |
“Safe to repeat” is what developers call idempotent: sending the request once or five times leaves the server in the same state.
GET — read data
GET https://jsonplaceholder.typicode.com/posts/1 returns one post. GET requests should never change anything on the server, which is why browsers and caches are happy to repeat them.
POST — create
Send JSON to /posts to create a post. The usual reply is 201 Created with the new item. If you click Send twice, a real API would create two items — keep that in mind when testing against production data.
PUT — replace
PUT /posts/1 with a full JSON object replaces post 1 entirely. Fields you leave out may be cleared, depending on the API. Use PUT when you have the complete, updated version of a resource.
PATCH — partial update
PATCH /posts/1 with just {"title": "New title"} changes the title and leaves everything else alone. This is the method most apps use for “edit” forms.
DELETE — remove
DELETE /posts/1 removes the post. Common responses are 200 with a message or 204 No Content with an empty body. Both mean success.
HEAD — headers only
HEAD returns the same headers as GET but no body. It is handy for checking whether a large file exists, its size (content-length) or when it last changed, without downloading it.
OPTIONS — what’s allowed
OPTIONS asks the server which methods and headers it accepts. Browsers send it automatically before certain cross-site requests — the “preflight” step behind many CORS errors. Sending it yourself in Hoppscotch shows exactly what the server answers.
CONNECT and TRACE
These two are rarely used in everyday API work. CONNECT asks a proxy to open a tunnel to another server, which is how HTTPS works through proxies. TRACE asks the server to echo the request back for debugging; most servers disable it for security reasons.
Custom methods
Some APIs define their own methods, such as LIST or PURGE (used by caching servers). In Hoppscotch you can type a custom method name instead of choosing one from the list.
Try it yourself
Create a collection named “Methods” and save one request for each method above against https://jsonplaceholder.typicode.com/posts/1. Compare the status codes and bodies. In ten minutes you’ll have a reference you can come back to — see how collections work.