TELNET
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 live.zyre.com 80", then "GET /restms/domain/default[Enter][Enter]" and the rest was output by the RestMS server running at live.zyre.com:
ph@nb200901:~$ telnet live.zyre.com 80
Trying 92.243.7.124...
Connected to live.zyre.com.
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 = "http://www.restms.org/schema/restms">
<domain name = "default" title = "Default domain">
<feed type = "direct" name = "default" title = "Default feed"
href = "http://live.zyre.com/restms/feed/default" />
</domain>
</restms>
Connection closed by foreign host.
Edit | Files | Tags | Source | Print
Table of Contents
|
- TELNET (15 Apr 2009 12:20)
- Profile (15 Apr 2009 12:19)
- Parrot (14 Apr 2009 18:10)
- Wolf Call (14 Apr 2009 18:02)
- Wolfpack (14 Apr 2009 18:01)
- Multimaster Housecat (14 Apr 2009 15:08)
- Reverse Housecat (14 Apr 2009 15:02)
- Housecat (14 Apr 2009 14:49)
page revision: 0, last edited: 15 Apr 2009 12:20