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
public string getAuthFullFlow(string username, string password) | |
{ | |
var cli1 = new RestClient("https://www.epicgames.com/id/api/csrf"); | |
var req1 = new RestRequest(Method.GET); | |
var ans1 = cli1.Execute(req1); | |
var xsrftoken = ans1.Cookies.First(x => x.Name == "XSRF-TOKEN").Value; | |
var cli2 = new RestClient("https://www.epicgames.com/id/api/login"); | |
var req2 = new RestRequest(Method.POST); | |
foreach (var i in ans1.Cookies) |
OlderNewer