Core: learn it Step 13 of 16 on the Full-Stack Developer roadmap

API tests

DRF's APIClient sends JSON requests to your endpoints and lets you check the responses. Test both the happy path and forbidden requests.

Resources

More in Testing across the stack

See it on the Full-Stack Developer roadmap