The fastest way to get a feel of what a HTTP API looks like is to try it using TELNET.

Here is an example of using RestMS via TELNET. You can try this on any computer with an Internet connection. I typed "telnet 80", then "GET /restms/domain/default[Enter][Enter]" and the rest was output by the RestMS server running at

ph@nb200901:~$ telnet 80
Connected to
Escape character is '^]'.
GET /restms/domain/default

HTTP/1.0 200
Content-type: text/xml
Last-modified: Mon, 16 Mar 2009 20:33:51 UTC
Etag: 465425e4e49c1-8a-3
Date: Mon, 16 Mar 2009 20:34:12 UTC
Content-length: 274

<?xml version="1.0"?>
<restms xmlns = "">
    <domain name = "default" title = "Default domain">
        <feed type = "direct" name = "default" title = "Default feed"
           href = "" />
Connection closed by foreign host.
Add a New Comment

Edit | Files | Tags | Source | Print

Table of Contents