Building a Remote Procedural Call (RPC) endpoint with the Django Rest Framework

Adrienne Domingus
6 min readSep 28, 2017

The Django Rest Framework (DRF), has a lot of built in functionality that supports CRUD operations, but building an RPC endpoint requires hand-rolling much of that. Ultimately, if we’re adding an RPC endpoint to an existing API with mostly REST endpoints, we want to match the design of our new endpoint to match that of the DRF, so we need to understand what each piece does.

All of these pieces are explained in the DRF docs, but seeing a complete example and how they all work together can add…