mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Drop the curl notes. Unnecessary.
This commit is contained in:
parent
bd089836a1
commit
15ad94c611
|
@ -22,8 +22,6 @@ If you don't set the content type, most clients will default to using `'applicat
|
|||
|
||||
As an example, if you are sending `json` encoded data using jQuery with the [.ajax() method][jquery-ajax], you should make sure to include the `contentType: 'application/json'` setting.
|
||||
|
||||
If you're working with the API using the command line tool `curl`, you can use the `-H` flag to include a `ContentType` header. For example, to set the content type to `json` use `-H 'content-type: application/json'`.
|
||||
|
||||
---
|
||||
|
||||
## Setting the parsers
|
||||
|
|
Loading…
Reference in New Issue
Block a user