![]() ![]() The server can send callback messages to connected clients, making it more efficient than REST API. A WebSocket API supports two-way communication between client apps and the server. Websocket API is another modern web API development that uses JSON objects to pass data. The client completes a function (or procedure) on the server, and the server sends the output back to the client. ![]() These APIs are called Remote Procedure Calls. ![]() This is a less flexible API that was more popular in the past. Client and server exchange messages using XML. These APIs use Simple Object Access Protocol. There are four different ways that APIs can work depending on when and why they were created. So in the weather example, the bureau’s weather database is the server, and the mobile app is the client. The application sending the request is called the client, and the application sending the response is called the server. API architecture is usually explained in terms of client and server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |