Hi, try in the views: print request.POST['id'] for see de value cheers,
On Thu, Sep 19, 2013 at 7:25 AM, Hélio Miranda <helio...@gmail.com> wrote: > Good. > I have my client application server, and was trying to send an id > parameter via a post like this: > $scope.deleteIMG = function(ID){ > $http({ > method: 'POST',, > url: "http://localhost:8080/onpitch/delImagePlayer/", > data: {id:ID}, > headers: { > "Content-Type": "application/json; charset=utf-8" > } > }).success(function(data){ > console.log(data); > }); > } > > My issue is that now I do not know how to get the id on the side of Django. > Someone can help me? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.