Sending data from my application to flask Python backend using iPhone is not working

I am trying my application on my iPhone, when I press a button, data from my application shall be transferred to Python backend using Flask API with GET request and vise versa.
This is not working even if I change the URL in GET request to MyLaptopIP

How could I solve this problem, please?