Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between a REST API and a web application

Tags:

rest

What is the difference when I am about to write a REST API?

I mean what considerations I should take into account which are not important for web applications? including the server, programming style, tighter security considerations, etc..

like image 653
Hosane Avatar asked Sep 08 '26 05:09

Hosane


1 Answers

To me, a web application implies a user interface -- HTML delivered from a server. A REST API, on the other hand, uses the HTTP protocol independent of presentation, and could equally support desktop clients, mobile clients, Flash/Flex clients, etc.

like image 138
Eric Smith Avatar answered Sep 11 '26 07:09

Eric Smith



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!