Web API Supports RPC(Remote Procedure Call) API and REST API(Representational State Transfer). To simplify this, RPC means action based routing and REST API means Default GET/POST/.... Methods.
REST API offers only method per request type except the Get which comes two times (One for getting Single Record and one for all Records).
Note: You can not use both techniques in One Controller. you can use One only one technique in one controller.
REST API offers only method per request type except the Get which comes two times (One for getting Single Record and one for all Records).
Note: You can not use both techniques in One Controller. you can use One only one technique in one controller.