Skip to content

Commit

Permalink
Fix URL in HTTP examples to be absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSerth authored Jun 19, 2023
1 parent cac8803 commit d32a047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moochub-versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ As explained above, clients should always send the number of the last major API
They can use the `Accept` header to specify the corresponding content type:

~~~http
GET bridges/moochub/courses HTTP/1.1
GET /bridges/moochub/courses HTTP/1.1
Accept: application/vnd.api+json; moochub-version=2
HTTP/1.1 200 OK
Expand All @@ -37,7 +37,7 @@ Content-Type: application/vnd.api+json; moochub-version=2.1
Deprecated versions can be recognized based on the presence of the `Sunset` header:

~~~http
GET bridges/moochub/courses HTTP/1.1
GET /bridges/moochub/courses HTTP/1.1
Accept: application/vnd.api+json; moochub-version=1
HTTP/1.1 200 OK
Expand Down

0 comments on commit d32a047

Please sign in to comment.