'Request token from Flutter
How to fix this How to fix this? I want to make a request from a flutter to a postman to get a token.
Solution 1:[1]
First you should convert your URI from string,
Uri finalUrl = Uri.parse(url.toString);
after pass the finalUrl to your post method
final response = await http.post(finalUrl, body: request_param);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dharman |
