[noob] How to write a python script that will be called using an HTTP POST request?


I in the middle of the python3 course, and I have a requirement at my job which I want to solve using a python script.

We have system that can notify us whenever there’s an IP address change in one of the components of interest. The system makes an HTTP POST request to a URL you specify. For example I want to use the POST data in my python script to make an API call to a ticketing system that will open a case for the IP change to be reflected in the network ACLs. Most of the documentation I found in the web is about how to make GET/POST requests using python. However, as a first step, I’m looking for documentation/examples on how to ingest the POST data (which will be json formatted).

Can anyone point me to a good resource about this topic ?