Click here to Skip to main content
15,898,371 members

Comments by aleksvarga (Top 15 by date)

aleksvarga 5-Jan-18 10:14am View    
But how do I create the one that I linked? I already added the buGet package and the controls but how do I recreate the visualr epresentation I added?
aleksvarga 20-Dec-17 13:16pm View    
Yeah that's fine I really do appriciate the help that you have provided so far! It seems that it has something to do with Javascript and that I would have to do some manual parsing but I'll keep at it!
Thanks!
aleksvarga 20-Dec-17 9:30am View    
I wanted to learn web automation and I wanted to use a "real website" so I could apply my knowledge to other websites and there is alot of book websites that I would like to automate my daily login to that doesnt have an API so this would have to be the only way.
This way however I get to learn about well tokens etc.

Here you can see the entire source code, with a valid username and password that I just created for test purposes. I feel like there is some big mistake I am missing here.
https://ghostbin.com/paste/v3gvt
aleksvarga 20-Dec-17 8:53am View    
Hm.. Still giving me the 400 Bad request exception and now I am passing this as params

remember=true&username=myUsername&password=myPassword&csrf_token=AQAw7R_6HRfwLdhrcofiUA08cbNCFY8_SFzsiDZdPkjNN2Q12mkfFL6EcrcJQ5dLr5VNi17OLFSZUmDbLw

And I am passing it like this
https://ghostbin.com/paste/epbgj
I've made sure to check that the csrf_Token is the correct one.
Hm.. I wonder where it is tripping over..
aleksvarga 20-Dec-17 7:18am View    
Yep that sounds like it would work!
So the bottom line to the issue why I was getting a bad request is because it was posting that random stuff at the end

;Version=1;Domain=accounts.spotify.com;Path=/;Secure" with the request correct?