I learned serializer in Postman.
Continuing on from yesterday, I’m lost in the Django Restframework!
In the midst of all this, I learned about a service called Postman and tried it out, so I made a note of it.
(red line) In body -> form-data, Send (blue button) with KEY VALUE left blank returns an error.
The message “NULL constraint failed” is returned.
Input KEY and VALUE described in views.py and Send returns a formatted response.
You can change the description of the serializer in views.py of the created application to check the operation.