Skip to main content

Posts

Showing posts from July, 2017

REST api

Hi  everyone ✋. This is REST api tutorial with a simple web application example. REST api is one of web service architecture. So lets talk about what is a web service . Web service is a collection of open protocols and standards used for exchanging data between clients and servers. The Web services based on REST Architecture are known as RESTful web services. REST stands for:  RE presentational  S tate  T ransfer It uses HTTP Protocol. It is widely using web based architecture  in current industry. Lets see the HTTP client calls before get start on REST api. HTTP calls GET - Read elements PUT - create new element DELETE - Remove elements POST -Update elements So lets learn RESTful web service with simple web example. For this I use NetBeans IDE, Mysql database, Glass fish server and for front end developing HTML. First create the web project using NetBeans IDE. Click finish. Then run the server. 1.Go to the Services tab → Servers →GlassFish serve