I am trying to send data from my flutter application to my local api made with django

here you can see views.py,

enter image description here

models.py

enter image description here

and url.py enter image description here

and you can see here my flutter postdata function with static values enter image description here

when i call my function it's dont work and it's return status.code error 400

enter image description here

but when i try to post data using postmant it's work

enter image description here

Back to Top