https://github.com/gregsexton/httprepl.el.git
git clone 'git://github.com/gregsexton/httprepl.el.git'
httprepl.el allows you to interactively make HTTP requests at a REPL-like UI within Emacs.
Firstly, httprepl requires the following dependencies:
You should install these anyway, they make working with elisp much more comfortable.
Drop this package somewhere on your load-path or
(add-to-list 'load-path (expand-file-name "/path/to/httprepl.el/"))
Then
(require 'httprepl)
To get started, run M-x httprepl
Check out M-x customize-group httprepl for configuration.
This has been tested on Emacs 24.3 on Linux and Mac OS X.
The screenshot shows a sample REPL session. A PUT request with an extra header and a body is executed. The response is then opened in a buffer. As you can see, the content type is detected and the buffer is put in to js-mode with the response headers commented out.
MIT license