'How to Assigning a variable returned in PHP to a variable in Flutter?

I want to make queries with Baraer token in an api system working with OAuth 2. Since the token is renewed every 24 hours, I developed a php code that can constantly renew the expired token. My PHP code returns the current token. How can I get this data via Flutter? It simply returns it. No JSON expression, no api. A blank page and a variable returned in the background.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source