DEV Community

loading...

Discussion on: REST API versioning with ASP.NET Core

Collapse
kirbypaint profile image
Ash Porter

This was an excellent post, thank you so much for taking the time to put this together!

I wanted to say, on the line where it specifies the API version key and value:
demo.org/api/resource?v=1.1

Having it only be "v=1.1" didn't work for me. I actually had to match that to the image provided directly below, with that parameter being "api-version=1.1"

Once I did that, it worked perfectly!

Collapse
99darshan profile image
99darshan Author

Thank you for spotting this. The one on the screenshot is correct. I'll update the article.