We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find how to make requests with headers.
For example, with regular HTTP request we can use
Future<Album> fetchAlbum() async { final response = await http.get( Uri.parse('https://jsonplaceholder.typicode.com/albums/1'), // Send authorization headers to the backend. headers: { HttpHeaders.authorizationHeader: 'Basic your_api_token_here', }, );
How we can do the same with the proxy?
The text was updated successfully, but these errors were encountered:
I have a same issue.. can't find Request with headers.
Sorry, something went wrong.
No branches or pull requests
Can't find how to make requests with headers.
For example, with regular HTTP request we can use
How we can do the same with the proxy?
The text was updated successfully, but these errors were encountered: