Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
d647d37a
Commit
d647d37a
authored
Oct 21, 2016
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Accept header in tutorial. Closes #4604. [ci skip]
parent
f1bdce17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/tutorial/7-schemas-and-client-libraries.md
+2
-2
No files found.
docs/tutorial/7-schemas-and-client-libraries.md
View file @
d647d37a
...
...
@@ -53,10 +53,10 @@ representation become available as an option.
We can also request the schema from the command line, by specifying the desired
content type in the
`Accept`
header.
$ http http://127.0.0.1:8000/schema/ Accept:application/
vnd.
coreapi+json
$ http http://127.0.0.1:8000/schema/ Accept:application/coreapi+json
HTTP/1.0 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/
vnd.
coreapi+json
Content-Type: application/coreapi+json
{
"_meta": {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment