

If the REST server communicates with JSON, you can create properties in the message that correspond to the object keys. Each message must implement the GetURLPattern event (see below) and should implement the GetRESTType event. You might create one message that will login, another that will get a list of information, another to save some data. Basic UseĪt its most basic, you need to create a "message" for each type of interaction with your RESTful server by subclassing RESTMessage_MTC. Xojo won't like it and will probably show all sorts of odd errors. Important: Do not drag the REST Resources folder directly from the folder into your project. Open the enclosed harness project and copy-and-paste the REST Resources folder into your own project. This framework attempts to make the job a bit easier by allowing you to create "messages" by subclassing the main class and implementing various events. As such, creating classes that work with a variety can be tricky and time-consuming, and tend to make you to work directly with JSON or other raw data.


There is no standard for RESTful servers.
