Difference between web services and web application

前端 未结 8 2016
天涯浪人
天涯浪人 2021-01-30 02:16

Lets have an example scenario:

Client opens a web site and finds the sum of two numbers which he enters from the textboxes.Then clicks on the ADD button.Two parameters a

8条回答
  •  清歌不尽
    2021-01-30 03:05

    In your case if you have User Interface for providing two numbers and then getting the result, it should be called a web application. But if you have an API exposed to receive two numbers and return result over http , then it should be called a web service.
    At low level, both Web application and web service are kind of same thing. But the main point is that web services are for machine/program to machine/program communication whereas Web application is for Users.

提交回复
热议问题