RESTful Functions Overview

From RPTools Wiki
Revision as of 18:00, 17 March 2019 by Phergus (talk | contribs) (Created page with "The RESTful macro functions in MapTool are for advanced users. This is merely an overview of the MapTool implementation of RESTful functions and not a tutorial covering REST...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The RESTful macro functions in MapTool are for advanced users. This is merely an overview of the MapTool implementation of RESTful functions and not a tutorial covering REST and REST APIs. Those can be readily found on the web such as REST API Tutorial.

What is REST?

REST is acronym for REpresentational State Transfer. It is architectural style for distributed hypermedia systems and was first presented by Roy Fielding in 2000 in his famous dissertation.

(Definition from tutorial linked above.)

MapTool REST Operations

MapTool supports the following REST requests:

Each request can return the server response or a full response with data typically in a XML or JSON format.

The full response will include a status code. A partial list:

200 OK
201 Created
202 Accepted
204 No Content
400 Bad Request
404 Not Found