April 2026
Intermediate
1009 pages
34h 15m
English
Accessing a REST message is basically very simple. The REST principle means that the data and services are always hidden behind a unique URL. This means that you only need to provide a REST server with a URL structure in which individual methods can be called up. The easiest way to do this is via URL parameters—for example, in the following structure:
method specifies the method called as a parameter.
parameter receives an array with the parameters.
Here’s a complete example URL:
http://localhost/php/rest_server.php?method=square¶meter=[24]
Various formats are possible for data exchange with REST. You can define your own XML format or use JSON, a commonly used notation for arrays and objects.
The names of the URL ...
Read now
Unlock full access