using System.Net; using YandexMusic.API.Models.Passport; namespace YandexMusic.API.Requests.Passport; internal class YCreateTrackBuilder : YPassportRequestBuilder { public YCreateTrackBuilder(YandexMusicApi api) : base(api) { } protected override string Method => WebRequestMethods.Http.Post; protected override string PathTemplate => "pwl-yandex/api/passport/auth/password/submit"; protected override HttpContent? GetContent(object _) => new FormUrlEncodedContent(new Dictionary { { "retpath", "" } }); }