167
edits
No edit summary |
|||
| Line 18: | Line 18: | ||
=== Version Header === | === Version Header === | ||
A less common approach is to use a [[header]] like <code>X-API-Version: 1</code> in API requests. There are two approaches within this strategy that have different tradeoffs. | A less common approach is to use a [[HTTP Header | header]] like <code>X-API-Version: 1</code> in API requests. There are two approaches within this strategy that have different tradeoffs. | ||
==== Don't Allow Requests Without Header ==== | ==== Don't Allow Requests Without Header ==== | ||