From c74b21012074e06812dfe9ad4253c9b8db1043db Mon Sep 17 00:00:00 2001 From: Jim Date: Sun, 16 Jul 2017 22:28:56 +0200 Subject: [PATCH] Changed to PUT method (#167) --- SpotifyAPI/Web/SpotifyWebAPI.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SpotifyAPI/Web/SpotifyWebAPI.cs b/SpotifyAPI/Web/SpotifyWebAPI.cs index 54a7c341..999545a5 100644 --- a/SpotifyAPI/Web/SpotifyWebAPI.cs +++ b/SpotifyAPI/Web/SpotifyWebAPI.cs @@ -1985,7 +1985,7 @@ namespace SpotifyAPI.Web /// public ErrorResponse SetRepeatMode(RepeatState state, string deviceId = "") { - return UploadData(_builder.SetRepeatMode(state, deviceId), string.Empty); + return UploadData(_builder.SetRepeatMode(state, deviceId), string.Empty, "PUT"); } /// @@ -1996,7 +1996,7 @@ namespace SpotifyAPI.Web /// public ErrorResponse SetVolume(int volumePercent, string deviceId = "") { - return UploadData(_builder.SetVolume(volumePercent, deviceId), string.Empty); + return UploadData(_builder.SetVolume(volumePercent, deviceId), string.Empty, "PUT"); } /// @@ -2007,7 +2007,7 @@ namespace SpotifyAPI.Web /// public ErrorResponse SetShuffle(bool shuffle, string deviceId = "") { - return UploadData(_builder.SetShuffle(shuffle, deviceId), string.Empty); + return UploadData(_builder.SetShuffle(shuffle, deviceId), string.Empty, "PUT"); } #endregion @@ -2248,4 +2248,4 @@ namespace SpotifyAPI.Web #endregion Util } -} \ No newline at end of file +}