How to publish your own RESTApi on the Pi in addition to the website

What is the name of the domain?

What is the issue you’re encountering

I have a website with a database on my Pi. I was now able to make the website available outside the network via Cloudflare Tunnel. The database interface works via RestAPI. These can no longer be accessed because the individual GET links to the database only run locally… so: https://rate-my-meal/data/meal should provide its own data. How can I make this API public so that the database connection works again?