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.