Mid REST API

How do you handle versioning in a REST API URL?

  • URI Versioning → /api/v1/users
  • Header Versioning → Accept: application/vnd.myapi.v2+json
  • Best practice: URI versioning for clarity.

More from ASP.NET Core Web API Tutorial

All questions for this course