In the previous recipe, we looked at how to search and read data through JSON-RPC. In this recipe, we will perform the remaining CRUD operations through RPC—Create, Update (write), and Delete (unlink).
Create/update/delete records through JSON-RPC
Getting ready
We will create a Python program to create, write, and unlink data on the library.book model. Make sure you have installed the my_library module and the server is running on http://localhost:8069.
How to do it...
Perform the following steps to create, write, and unlink a book's information through RPC...