Below is a quick-scan of the Elisp landscape (spring 2024) for “I just want to hit a REST/HTTP endpoint from Emacs and get back the result”. Every package listed is (a) actively maintained—e.g. commits or MELPA uploads within ≈ 18 months—and (b) generic enough to hit any HTTP server (i.e. not hard-wired to a single API such as GitHub).
That should give you a solid menu of “alive & kicking” options for HTTP/REST work in Emacs. Happy hacking!
User
Focus on interactive use.
Assistant
Here are the Emacs packages you want when you’d rather “drive” an API by hand—typing requests in a buffer, hitting C-c C-c, and instantly seeing the response—rather than calling an Elisp function from code. All are actively maintained (had commits/MELPA updates within ~18 months).
Package
Primary “UI”
Last update*
Stand-out features
Typical workflow
restclient
restclient-mode (plain text buffers)
Mar 2024
Scratch-pad feel; HTTP verb on first word; variables; cookies; auth; syntax highlight; pretty-prints JSON via jq if present
Keep a .http file:GET https://api.example.com/users/{{id}}→ C-c C-c (or C-c C-r for region) → response pops in another buffer
verb
Org-mode subtrees
Feb 2024
Each request & response lives in an Org heading; ^TAB to fold/unfold; automatic result storage; export to Markdown/HTML (great for docs)
In an Org file:* GET https://api.example.com/ping:properties: etc.C-c C-c while on the heading → new “Response” subtree appears
ob-http
Org-Babel #+BEGIN_SRC http … blocks
Feb 2024
Literate-programming approach; results captured like any Babel block; can use either url.el or restclient under the hood
In Org:<br>#+BEGIN_SRC http :pretty t :wrap src json<br>GET https://api.example.com/todos/1<br>#+END_SRC<br>C-c C-c to execute → result folded under the block
httprepl
Minibuffer REPL + dedicated buffer
Nov 2023
Tiny; REPL history; tab completion of headers; great for quick one-offs
M-x httprepl → interactive prompt http> GET https://…
graphqurl.el (bonus, GraphQL)
Single buffer GraphQL editor
Mar 2024
Auto-completion from schema; variables support; nice if your REST backend has GraphQL endpoints too
M-x graphqurl → write query & variables → C-c C-c
* “Last update” = last commit pushed to the canonical repo or latest MELPA recipe date at the time of writing (Apr 2024).
Quick tour & sample usage
1. restclient – the classic scratch-pad
# demos.http (switch buffer to restclient-mode)
:var token = "Bearer abc123"
GET https://httpbin.org/get
Authorization: {{token}}
###
POST https://httpbin.org/post
Content-Type: application/json
{
"title": "Take out the trash",
"done": false
}
• C-c C-c anywhere inside a request sends it.
• C-c C-u repeats the last one.
• Result buffer supports n/p (next/prev request) and q to quit.
Tip: M-x restclient-copy-curl-command copies the current request as a ready-to-run curl line.
2. verb – Org-native
Each request is an Org subtree, and the response is stored right beneath it.
* Get user list
:PROPERTIES:
:method: GET
:url: https://jsonplaceholder.typicode.com/users
:END:
• Put cursor on the heading, press C-c C-c → response nested under ** Response
• Press v on that response block to pretty-print JSON.
• Export the whole Org file to HTML and you have beautiful, runnable API docs.
3. ob-http – literate executable docs
#+NAME: todo-one
#+BEGIN_SRC http :pretty t :headers '(("Accept" . "application/json"))
GET https://jsonplaceholder.typicode.com/todos/1
#+END_SRC
#+RESULTS: todo-one
#+BEGIN_SRC json
{
"userId": 1,
"id": 1,
"title": "delectus aut autem",
"completed": false
}
#+END_SRC
• Just like any Org-Babel block: C-c C-c executes, result is stored in Org data.
• Perfect for notebooks, blogs, or READMEs.
4. httprepl – terminal-like
M-x httprepl
http> GET https://api.github.com/repos/emacs-mirror/emacs
HTTP/1.1 200 OK
...
http> jq .stargazers_count ; pipes to external jq if available
Simple history navigation with M-p/M-n (like comint).
Choosing one
• Need the simplest Postman-like scratch file? restclient.
• Live & breathe Org (tutorials, docs, note-taking)? verb or ob-http.
• Want a quick REPL w/out creating a buffer/file? httprepl.
• Doing GraphQL? graphqurl.el.
Happy exploring and have fun poking those APIs from the comfort of Emacs!