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?