Jian-Min-Huang / tech-note

2 stars 0 forks source link

RESTFul Version Control Type #163

Open Jian-Min-Huang opened 4 years ago

Jian-Min-Huang commented 4 years ago

URI

Query String

Header

GET https://adventure-works.com/customers/3 HTTP/1.1
Custom-Header: api-version=1

MediaType

GET https://adventure-works.com/customers/3 HTTP/1.1
Accept: application/vnd.adventure-works.v1+json

References