django-rest-framework accept JSON data?
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. See the below image: Also, you might also need to include a CSRF token in the header in case you get an error {“detail”: “CSRF Failed: CSRF token missing or incorrect.”} while making … Read more