WEB API:-
.....................................................
it is equivalent to web services that provide URL to access functionality from one platform to another.
Web API uses the Http protocol for sending and receiving data.
WEB API provides a separate layer for database operation using a model and business code using a controller.
.............................................................................................................
ASP.NET MVC provides ApiController to create Web API.
class Classname extends ApiController
{
}
1 HttpGet -------> View All Record or Search Record
2 HttpPost -----> Insert Record
3 HttpPut -----> Update Record
4 HttpDelete ----> Delete Record
.....................................................
it is equivalent to web services that provide URL to access functionality from one platform to another.
Web API uses the Http protocol for sending and receiving data.
WEB API provides a separate layer for database operation using a model and business code using a controller.
.............................................................................................................
ASP.NET MVC provides ApiController to create Web API.
class Classname extends ApiController
{
}
1 HttpGet -------> View All Record or Search Record
2 HttpPost -----> Insert Record
3 HttpPut -----> Update Record
4 HttpDelete ----> Delete Record
POST Answer of Questions and ASK to Doubt