simple python code to send http POST requests to an API endpoint.
Upon calling python3 main.py:
- constructs a dictionary for the data payload.
- converts dictionary into a JSON object[1].
- sends the payload to the specified API via POST request, using the python requests package[2].
- prints out the result of the POST request.