flutter

POST request gets blocked on Python backend. GET request works fine

POST request gets blocked on Python backend. GET request works fine Question: I am building a web app where the front-end is done with Flutter while the back-end is with Python. GET requests work fine while POST requests get blocked because of CORS, I get this error message: Access to XMLHttpRequest at ‘http://127.0.0.1:8080/signal’ from origin …

Total answers: 3

How to import python package in flutter using Starflut?

How to import python package in flutter using Starflut? Question: I’m building an app with Flutter and I need to use some Python code. For that I use the Starflut plugin (https://pub.dev/packages/starflut). I succeed to run the Python code, no issue here, but I want to import extra package. To do so, I created a …

Total answers: 3

HTTP trigger Cloud Function in Flutter web

HTTP trigger Cloud Function in Flutter web Question: I am trying to call a HTTP trigger Cloud Function from Flutter. I keep getting errors in the console while passing the parameters to the function. final HttpsCallable callable = CloudFunctions.instance.getHttpsCallable( functionName: ‘hello_world’, ); final HttpsCallableResult result = await callable.call( <String, dynamic>{ ‘message’: ‘hello world!’, }, ); …

Total answers: 1

Is it possible to develop an app using the remove.bg API in Flutter?

Is it possible to develop an app using the remove.bg API in Flutter? Question: I got an API called remove.bg . I want to use this API ( provided in python language ) in my Flutter App. Is it even possible? This API uses for removing image background. What are the steps/ research I need …

Total answers: 1