CSharp how to make an http request get and post for browser AI browsing like login on a website etc
My problem is the next I m trying to login on a website via C# win forms project app I m stuck at the http request part where I don't know how to make a request to get the login form
13 Replies
Which website are you trying to login to?
playstation network
For what?
I sometimes give my account to a friend and I have a problem with switching problems and sometimes I want to check if I switched the password and I want to make an app so it's easier
with switching password
Yeah, most definitely violates ToS.
why?
whose tos
If you use a private API to log in, most of the time you're violating the ToS.
oh I understand
where I can find more info
about http on c#
HttpClient Class (System.Net.Http)
Provides a class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI.
thank you
can somebody help me with post requests?
Unless you're using an official API, it's most probably against the TOS, so we cannot help you
And even if we could, chances are their login form has some sort of a CSRF protection
So you won't be able to do anything anyway
oh I understand
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.