How to send POST API request from ubuntu server to my app?

I’m running a Ubuntu server with cronjob that triggers a python script every X minutes and I want to send a post request from my python script to my kodular app. It’s only for personal use btw.

I have figured out the python part of it, I just wanted to know how do I create a webhook in my app that can react/respond to API requests.