Encapsulate responses from RESTful Web Service requests on the server side

0

Hello,

Developed a RESTful Web-Service in PHP using the framework SLIM and an android application to consume his services. It's working fine, however, GET request responses, which are returned in JSON format, are fully exposed when I access the service URL directly.

I would like to know how to encapsulate these responses on the server side so that they are only retrieved by the client when the client is consuming the service.

    
asked by anonymous 06.07.2017 / 00:23

0 answers