Hello, I apologize in advance gentlemen, if the game ask... Began to study web service, REST , reading 3, 4 articles remained still issues namely:
1 I know that the rest can work with json, xml, html with the first two it is clear that I asked the server for the weather, it was returned to me the first or second, but third is not clear whether this is really what the web service returns the actual page to the user as html??
2 Can the client part of the rest of the service be deployed on a single server, with the server part? All the examples I have seen the client part written in Maine, it is generally written on the web servers?
3 I wrote Here is obvious and simple backend rest service, the browser make the GET request and receive records from DB, here I am, and so are the customer! why write it then??
4 Here's an example of rest service to order coffee, I'm realizing so , I went to the site bought a coma I came home, whether it is written there is the client part? there returns the rest service, the full page or it's hidden treats such as the payment coffee?
5 Antipicate user, how do it works? the user went to the site and must be auntefication to get access to the info, it turns out the client part of the rest of the service should be deployed on the server where the backend rest service, right??
Understand what wildly stupid questions but please tell me or throw off the old for this reason! I will be extremely happy! Thank you.