c# - httpWebRequests send Post data and get the status code -


i'm trying convert python code c#.

the python code using requests module.

    post = {'customer_fid': self.customer_fid, 'salt': self.salt, 'token': token, 'customer_facebooktoken': self.customer_facebooktoken}      request = self.session.post(self.baseurl + self.loginurl, data=post) 

i've search several posts on google, can't find response.

i need way ask server 4 parameters , statuscode afterwards.

thank in advance.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -