How to connect flutter app to PHP server?Get the solution ↓↓↓
I have made somewhat complicated web applications in PHP in the past and now I want to develop PHP server-side scripts to connect an application interface made with flutter to my server/host.
I don't know any flutter and I'm not interested in learning it. Is there a simple way to send requests from the application to my PHP scripts and back to the end-user without the need to learn flutter? if so how? What is the equivalent of AJAX or form submission in there? Or are there completely different technologies?
Any form of guidance would be helpful. Thanks!
You could create your backend as a REST API in PHP and provide endpoints that can be hit by your Flutter application. You could return response in JSON or XML format from your PHP REST API which can be manipulated at the application front-end with flutter.
People are also looking for solutions of the problem: installation failed, reverting ./composer.json and ./composer.lock to their original content.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.