Making Get Request

Hi guys I am trying to make a get request using HttpClient. Because of CORS I did a proxy config.
And everything is working fin on my browser ,but when I install the application on Android for the get request
I am getting HTML response with capacitor’s script in it. Has anyone had that issue and how did you solve it ?