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, <[email protected]> wrote: > halo 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 > hoping anyone can help > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAHLKn70xJbnK0zXE9rc_Q5q8UYhp6xHCvjz3Gv7vTX5Y2-D_gQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAHLKn70xJbnK0zXE9rc_Q5q8UYhp6xHCvjz3Gv7vTX5Y2-D_gQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. 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.

