Last active
September 17, 2021 16:53
-
-
Save larryq/2a23148b9e7efe0a18d8bd7d877b89af to your computer and use it in GitHub Desktop.
This file contains 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<http.Response> shareEvent(clipId) async { | |
final response = await http.post( | |
'https://api.songclip.com/events/share', | |
headers: { | |
HttpHeaders.authorizationHeader: authHeader, | |
"apikey": apikey, | |
}, | |
body: jsonEncode(<String, Object>{ | |
'sourcePlatform': 'iOS', | |
'sessionId': 'U7BMARUXDWNY', | |
'uniqueId': 'd35ef6f6ee1b', | |
'clipId':'${clipId}' | |
}), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment