FileService :: GetDocumentFichier
The GET method, is used to retrieve data.
The list of necessary parameters for sending a query:
- int id.
Returns data as stream.
Input parameters:
?id=51
Example:
require (__DIR__ . '/service/WebServices100.php'); use services\WebServices100; $url = 'http://<Your ip>:<Your Port>/WebServices100/<Your environment>/FileService/rest/DocumentFichier?id=51'; // Send requests to receive data $result = WebServices100::getData($url)));
Result:
STREAM