Last active
September 17, 2021 16:54
-
-
Save larryq/cff857eb45346a5dbbd0c48f5c568bb6 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<Response> playEvent(clipId) { | |
return http.post( | |
'https://api.songclip.com/events/play', | |
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