[Answered ]-Data not sent using jquery to a Django view

2👍

You forgot to include Double quotes(“) in the key of Json

Use proper syntax for Json in Javascript

var postData = {
           "text": $("#input-box").val(),
           "rotate": $("#rotate").val()
       };
👤Mani

Leave a comment