API versioning via Accept header approach
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2022
03:21 AM
09-05-2022
03:21 AM
API versioning via Accept header approach
I would to like to bring versioning concept to one of my API. I decided to go with "Accept header" (a.k.a MIME Type or content negotiation) approach.
application/vnd.me.v1+json => should return response which is part of V1
application/vnd.me.v2+json => should return response which is part of V2.
Can anyone help me achieve my goal?
Labels:
0 REPLIES 0
