In my application I make an api Class: import 'package:http/http.dart' as http; import 'dart:convert'; class Api { final String __baseUrl = "htt ...
In my application I make an api Class: import 'package:http/http.dart' as http; import 'dart:convert'; class Api { final String __baseUrl = "htt ...
I am Logging in to the website using this block of code and printing the status code as well as the response body in the console. and this is what ...
I guess I'll move this to the top because none of what's been said so far addresses my question. There are some response headers in Postman that I don ...
I'm trying to make a simple HTTP-head request within a Future. However, for some reason, the request is not executed. This is my current code: Futu ...
I'm trying to load a client certificate to a a http.client from the http.dart package. I'v seen multipule answers on how to do it using the HttpClien ...
I am learing about api's and http request in flutter and I got an error in making a get request I got this error : Error: Expected a value of type 'St ...
Hi I have the following problem in flutter. I make a post http request and in the browser the website returns status 302, with the location of the red ...
I have a project whereby I need the iOS to check a due date from an api in the background and schedule a notification on that date, however, whenever ...
I created a database with Wix that has several different types of content like Strings, images, addresses and more.I want to use the information from ...
I am developing a mobile app communicating with an api and it is working fine. When I tried the app with the public url (https), the http client throw ...
I understand that I'm able to use http::BrowserClient for web and I'm able to use http::Client for ios and android, but I can't use one library for bo ...
I am trying to publish a message to AWS IoT using flutter application. Based on AWS's documentation I have tried to replicate Here is what I have ...
I have a problem when testing my classes that make http requests. I want to Mock the client so that every time the client makes a request, I can answe ...
i have an issue with OpenWeatherMap API for hourly weather forecasts. i retrieved the 5 day/3 hours weather data from this api. But now i want daily w ...
I am trying to communicate with a PHP backend using API but I can not reach the body of the response. I got the base code from the postman. And here ...
I am using dart:http to make post request but it seems I cannot specify HTTP1.1 version which is required by target api. Ideally I need to re-create f ...
I have a project whereby I am using the http package to make various http requests. I recently updated the package and I cannot append url links to th ...
I'm new to flutter and wanted to create a weather app. When calling the API, there's an error. I have created a function named fetchSearch() to search ...
I'm trying to POST data to a Google Sheets web app. When I POSTdata to the endpoint I get a status 302 back. If I then POST the data to the new locat ...
We are in a situation where the production app is facing the following socket exception and not able to perform any other network operation after this ...