Refactored send-secure-request to build playlists on spotify.