You have missed adding the
Content-Type header in the headers section. Just set the Content-Type header to application/json and it should work.On Sun, 20 Dec 2020, 1:37 am ola neat, <tosinayoola0@gmail.com> wrote:
--hoping anyone can helphalo guys, i'm working api that requires user to upload image and send text as form input on the same endpoint, i've done all is needed but i've been faced wit an err, hoping anyone can help out,attached below is my code(serializer views) and d err msg
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn70xJbnK0zXE9rc_Q5q8UYhp6xHCvjz3Gv7vTX5Y2-D_gQ%40mail.gmail.com.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJ0m4xjo9-UXNpi%2Bmzs0Y_jHhg_t-DbYMWqPFRwa83Rb9im0LA%40mail.gmail.com.
No comments:
Post a Comment