Answers for "send json body http get flutter"

0

send json body http get flutter

final queryParameters = {
  'name': 'Bob',
  'age': '87',
};
final uri = Uri.http('www.example.com', '/path', queryParameters);
final headers = {HttpHeaders.contentTypeHeader: 'application/json'};
final response = await http.get(uri, headers: headers);
Posted by: Guest on November-28-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language