Posts

Showing posts from May, 2023
Image
  What is an API?  API is nothing but an application program interface. As we already said the name itself says it is an interface. How does API Testing work? It is all about requests and responses between the client and server. You want something, you request something so there is a way it gets carried to the server and you get the response back from the server. In other words, it’s all about your requesting and you know getting some responses from the provider. Example:  Now open UBER and see. Once the site is loaded, it gives you an ability to log in or continue with Facebook and Google. In this case, Google and Facebook are also exposing some level of users’ information. There is an agreement between UBER and Google/Facebook that has already happened. That’s the reason it is letting you sign up with Google/ Facebook.

What is a Client ? What is a Server ?

A   client   is a computer hardware device or software that accesses a service made available by a server. The server is often (but not always) located on a separate physical computer. A   S erver  is a physical computer dedicated to run services to serve the needs of other computers. Depending on the service that is running, it could be a file server, database server, home media server, print server, or web server. Example : When a Bank customer accesses online banking  services with a web browser (the client), the client initiates a request to the bank's web server. The customer's login credentials may be stored in a database, and the webserver accesses the d atabase server  as a client. An a pplication server  interprets the returned data by applying the bank's business logic  and provides the output t o the webserver. Finally, the webserver returns the result to the client web browser for display. In each step of this sequence of client–server message exchanges, a compu