HTTP get with on a access point network

Hi, I try to build a app, to controll a ESP8266. I want that the user logs in to the network which the ESP8266 generates. Then the user click on “next” and the app shoult checks if the smartphone is connected to the right network, with the “http.get” method and the ESP8266 sends JSON datas back.

the problem is that the app thinks that the smartphone has no internat access (failure response for (unknown url) 0 unknown error), this is true but it has access to the gateway. And so the app can´t get any informations form the ESP8266.

Is there a solution for this problem? Or are there other ways to communicate with the ESP8266 ?

Thanks for all the answers in advance :smiley: