Issue I’m currently developing a Flutter web application where I’ve encountered an issue specifically when attempting to send a GET request with a body. The application works as expected on Chrome, but upon sending this particular request, I consistently receive
Continue readingTag: flutter-http
How I upload image with schema to my dio flutter app
Issue I had this endpoint in my django api I need to upload a image with the post details to create one in my app ,i spend days without any sol in flutter i know how to send to schema
Continue readingHow to pass cookie in http request – Flutter
Issue What I’m trying do is access the Instagram private api which requires user to be logged in before sending request to it, so to achieve that, I accessed the cookies or session id with the help of flutter_web_view and
Continue readingfetching data from api and pass it to next page but showing error
Issue //sign() fnction is in statless widget var y y=signIn(); Navigator.of(context).push( MaterialPageRoute( builder: (context) => posting(y), ), ); Future<Response?> signIn() async { var dio = Dio(); try { var response = await dio.post(‘https://cisfapp.cisf.gov.in/abc/post.php’, data: { "method" : "posting", "username" :
Continue readingProblem receiving information / Exception has occurred TypeError
Issue I want to read my information from the API. But facing this error. This is the code I wrote: import ‘../models/LocationListApi.dart’; import ‘package:http/http.dart’ as http; import ‘dart:convert’ as convert; class Network { static Uri url = Uri.parse( "http://pelak.puladin.com/laravel-api/api/v1/places?category_id=11"); static
Continue readingError: type 'List<dynamic>' is not a subtype of type 'String' in Flutter
Issue I’m learning to fetch a data from an API using mockapi. I followed the flutter examples using the HTTP package but there’s something wrong with the code and I can’t seem to figure it out. I have tried several
Continue readingHow to validate date and time on the client side like Chrome does, using Flutter Web
Issue I have a Flutter Web application, and I want to validate the date and time of the Client side, just like Chrome or Whatsapp does. To do this, I decided to send in each request the current date and
Continue readingWhich is the best way of api call in flutter
Issue I’m new in flutter development. Recently I heard about Dio and Http packages for api calling. Which is the best one for api calling. If anyone have a better way of api service?? CreateAccountRepository.internal(); static final CreateAccountRepository _singleInstance =
Continue readingWhy can I use print my API response on a button press but not display it as a widget in Flutter? And how do I fix it?
Issue In my Flutter App, I am trying to call an API in initState and I am able to successfully get a response in the format that I want. I know this because when I try and print the variable
Continue readingFlutter http request get null
Issue I’m new to flutter and dart. While learning about get on http request I encounter some error. These are my code import ‘dart:convert’; import ‘package:flutter/material.dart’; import ‘package:http/http.dart’ as ziraHttp; class getHttp extends StatefulWidget { const getHttp({super.key}); @override State<getHttp> createState()
Continue reading