|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
Method to post postdata & get the result Hello, Working on dotnet platform. I want to know how can I use the objects provided in System.net to download the page using the post method? WebClient can send a querystring to a page but dont know how to use the POst method for getting it. Tried with the WebClient.UploadData() & i9t can download a page but cant send the postdata. Anyone knows where I am wrong? help please! |
#2
| |||
| |||
Re: Method to post postdata & get the result According to me you need to use the "|" character to delimiter the fields for POST... Dim PostData As Byte() = ASCIIEncoding.GetBytes("Account=" & Account & "Password=" & Password) should be: Dim PostData As Byte() = ASCIIEncoding.GetBytes("Account=" & Account & "|Password=" & Password & "|") Hope this helps |
#3
| |||
| |||
Re: Method to post postdata & get the result For post data to PHP in C# I use this method: Quote:
|
![]() |
|
Tags: get result, method, postdata, querystring, uploaddata, webclient, webrequest, webresponse |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Search Result in Outlook 2007 does not show current years result | Shika | Windows Software | 4 | 24-04-2012 07:53 AM |
want to send hidden chronicles post to neighbors but instead post is going to general feed. | Shiraj | Video Games | 1 | 26-01-2012 12:27 AM |
How many post are allowed to post on a blog in a single day | umaymah | Technology & Internet | 3 | 16-01-2011 06:11 AM |
How to remove postdata confirmation dialog | KALINDA | Technology & Internet | 3 | 02-11-2009 11:16 PM |
What is Post and Get Method in PHP? How it has been implemented? | Rover | Software Development | 3 | 05-09-2009 08:23 AM |