'How to save triggered REST API output which is in json to a SQL Server using Python?

I have the following code in python to trigger REST API call. The output is stored in "data". Can you please help me on storing that data into SQL server. So each and every time when i trigger the python script the json output saves automatically in the SQL server.

I have installed SQL server 2019.enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source