Last active
January 8, 2020 13:41
-
-
Save Shubham-Narkhede/6db5cfd4f8c1dabe548201a1b0438503 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Future insertData(var username, var useremail, var userimage, var userauth, | |
var usersource) async { | |
var url = "YOUR_INSERT_DATA_API"; | |
final response = await http.post(url, body: { | |
"username": username, | |
"useremail": useremail, | |
"userimage": userimage, | |
"userauth": userauth, | |
"usersource": usersource | |
}); | |
print(response.body); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment