Difference between revisions of "Restclient"

From WikEmacs
Jump to: navigation, search
(restclient.el)
(No difference)

Revision as of 18:09, 13 October 2017

restclient.el
Description manually explore and test HTTP REST webservices. Runs queries from a plain-text query sheet, displays results as a pretty-printed XML, JSON and even images.
Author Pavel Kurnosov
Maintainer Pavel Kurnosov
Source https://github.com/pashky/restclient.el

restclient.el is a tool to manually explore and test HTTP REST webservices. Runs queries from a plain-text query sheet, displays results as a pretty-printed XML, JSON and even images.

With a simple file like this:

# -*- restclient -*-
#
# Gets  all Github APIs, formats JSON, shows response status and headers underneath.
# Also sends a User-Agent header, because the Github API requires this.
#
GET https://api.github.com
User-Agent: Emacs Restclient

We can press C-c C-c on a line request and we get the result in a new buffer.

There is more, check it out !