Mid
From PDF
REST API
ASP.NET Web API
Explain the concept of resource-based URLs in REST.
In REST, resources (like users, products, orders) are identified with URLs instead of
ctions.
π Example in ASP.NET Core Web API:
// Instead of action-based
GET /getUser?id=1
// Use resource-based
GET /users/1
This makes APIs cleaner and more intuitive.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png