async function send()
{
let data = new FormData();
data.append("title", "title ???");
data.append("note", "note");
data.append("csrfmiddlewaretoken", '{{csrf_token}}') // 3
let res = await axios.post("/blog/third", data);
console.log(res.data.my_data);
}
def third(request):
if request.method=="POST":
title = request.POST["title"]
note = request.POST["note"]
data = {
'my_data': title
}
return JsonResponse(data)
#much simpler than fetch