In the following pages, 'live' links are provided so that the reader can test directly from their web browser.

Before attempting to use any of these links please do the following:

  1. Ensure that you have found the current credentials as listed on the Demo page.
  2. Using the above credentials, ensure that you can browse this link: http://demo.restfm.com/RESTfm

You should now be able to browse around the demonstration RESTfm database using the .html format:

If authentication fails, you will see the following:

The format of the returned data may be chosen by simply changing the .html suffix to another supported format (try .json or .xml).

Root URI - JSON

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "data": [
        {
            "database": "postcodes"
        }
    ],
    "meta": [
        {
            "recordID": "auto.1",
            "href": "\/RESTfm\/postcodes.json"
        }
    ],
    "info": {
        "X-RESTfm-Version": "2.0.1\/r280",
        "X-RESTfm-Protocol": "4",
        "X-RESTfm-Status": 200,
        "X-RESTfm-Reason": "OK",
        "X-RESTfm-Method": "GET"
    }
}

Root URI - XML

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<resource xmlns="http://www.restfm.com">
 <meta>
  <row>
   <field name="recordID">auto.1</field>
   <field name="href">/RESTfm/postcodes.xml</field>
  </row>
 </meta>
 <data>
  <row>
   <field name="database">postcodes</field>
  </row>
 </data>
 <info>
  <field name="X-RESTfm-Version">3.0.0beta/r430</field>
  <field name="X-RESTfm-Protocol">4</field>
  <field name="X-RESTfm-Status">200</field>
  <field name="X-RESTfm-Reason">OK</field>
  <field name="X-RESTfm-Method">GET</field>
 </info>
</resource>