I'm also a non-dev although I have a little Python experience, and I found reading the docs for FastAPI (a Python library to create API based applications) to be quite enlightening.
In particular the "Tutorial - User Guide" which walks you through creating a little app.