For the edit: If the endpoint works on HTTP that is. We no longer allow HTTP connections to our API servers for instance.
So basically for app endpoint will be charles/mitmproxy machine, then from there, you will make https request to real API server