I/flutter (11241): FormatException: Invalid radix-10 number (at character 1) I/flutter (11241): 68.000000 I/flutter (11241): ^ code example
Example: I/flutter (24560): FormatException: Invalid radix-10 number (at character 1)
// for Flutter, you need two parameters, in first you need to enter domain, and in second pass the subroute
var response =
await http.get(Uri.https('favqs.com', '/api/quotes/4'), headers: {
'Content-Type': 'application/json',
'Authorization': "Token token='xxxxxxxxxxxxxxxx'",
});