--- # this is an empty front matter --- {% include header.html %}
ClearPress supports working in a RESTful fashion. That is to say there is a very systematic naming scheme for addressing entities and supporting the operations usually required:
The URL scheme looks something like this:
POST to http://server/application/entityGET from http://server/application/entity/idPOST to http://server/application/entity/idPOST to http://server/application/entity/id;deleteGET http://server/application/entity/GET http://server/application/entity/id;addGET http://server/application/entity/id;editOn the whole this is fine - default responses are in text/html and that's great. Occasionally we want to use XML or JSON representations - simple!
GET http://server/application/entity.xmlGET http://server/application/entity/id.jsGET http://server/application/entity/id.png