Last active
September 17, 2021 16:53
-
-
Save larryq/2a23148b9e7efe0a18d8bd7d877b89af to your computer and use it in GitHub Desktop.
Revisions
-
larryq revised this gist
Sep 17, 2021 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ Future<http.Response> shareEvent(clipId) async { final response = await http.post( 'https://api.songclip.com/events/share', headers: { HttpHeaders.authorizationHeader: authHeader, "apikey": apikey, @@ -9,5 +9,6 @@ Future<http.Response> shareEvent(clipId) async { 'sourcePlatform': 'iOS', 'sessionId': 'U7BMARUXDWNY', 'uniqueId': 'd35ef6f6ee1b', 'clipId':'${clipId}' }), ); -
larryq revised this gist
May 14, 2021 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,10 +6,8 @@ Future<http.Response> shareEvent(clipId) async { "apikey": apikey, }, body: jsonEncode(<String, Object>{ 'sourcePlatform': 'iOS', 'sessionId': 'U7BMARUXDWNY', 'uniqueId': 'd35ef6f6ee1b', }), ); -
larryq created this gist
Mar 3, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ Future<http.Response> shareEvent(clipId) async { final response = await http.post( 'https://api.songclip.com/songclips/${clipId}/events/share', headers: { HttpHeaders.authorizationHeader: authHeader, "apikey": apikey, }, body: jsonEncode(<String, Object>{ 'context': { 'sourcePlatform': 'iOS', 'sessionId': 'U7BMARUXDWNY', 'uniqueId': 'd35ef6f6ee1b', } }), );