JSON形式でデータをdjangoアプリに送信しようとしています。以下のようにPOSTを使用しようとすると、以下のエラーが発生します。だから、私の投稿方法やビューの方法の何が問題になっていますか。
編集:エラーメッセージ:
<pre class="exception_value">'Key \'data\' not found in <QueryDict: {u\'{ "data":\\n {\\n "name": "Something",\\n "content": "Anything"\\n }\\n}\\n\': [u\'\']}>'</pre>
<table class="meta">
<tr>
<th>Request Method:</th>
<td>POST</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://localhost:8000/api/recipes/item_new/</td>