|
-
Oct 28th, 2008, 01:46 PM
#1
Hyperactive Member
Re: Winsock: Making HTTP POST/GET Requests
Great post ... i already learned some stuff with your app...
But i was wondering...
Once that i got all the cookie data and stuff with logging in...
How do i manage to send that cookie data with another post request?
I tried with inet1.execute.... but wont work 
Thanks again for this tutorial
-
Jan 10th, 2009, 03:11 AM
#2
Lively Member
Re: Winsock: Making HTTP POST/GET Requests
 Originally Posted by batori
Great post ...  i already learned some stuff with your app...
But i was wondering...
Once that i got all the cookie data and stuff with logging in...
How do i manage to send that cookie data with another post request?
I tried with inet1.execute.... but wont work
Thanks again for this tutorial
store it in a global var...
-
Jul 4th, 2009, 10:25 AM
#3
New Member
Re: Winsock: Making HTTP POST/GET Requests
Hi.
Help!!! Some symbols like + and = don't send using WinHTTPRequest.Send
And how to send multiple variables?
-
Jul 18th, 2009, 10:28 AM
#4
New Member
Re: Winsock: Making HTTP POST/GET Requests
Thank you very much for the tutorial. This is the only place I could find that had a tut about the winsock and http.
I have made a new thread about this problem here if you would be so kind as to read it
I can log into phpbb forums but when I try to post I get
Invalid Session. Please resubmit the form.
I'm sending the following to the server:
POST /community/posting.php?mode=post&f=26&sid=e5ab54e065e67b736f0e04e30287e880 HTTP/1.0
Host: www.phpbb.com
Accept: "/"
Content-Type: application/x-www-form-urlencoded
Referer: http://www.phpbb.com/community/ucp.php
Content-Length: 54
Connection: Keep-Alive
Cache-Control: No-Cache
Cookie: phpbb3mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bs%3 A5%3A%2286360%22%3B%7D; phpbb3mysql_sid=e5ab54e065e67b736f0e04e30287e880
subject=Thanks&description=&message=Thanks&post=submit
-
Jul 24th, 2009, 11:32 AM
#5
Re: Winsock: Making HTTP POST/GET Requests
 Originally Posted by Under_Developed
Thank you very much for the tutorial. This is the only place I could find that had a tut about the winsock and http.
I have made a new thread about this problem here if you would be so kind as to read it
I can log into phpbb forums but when I try to post I get
Invalid Session. Please resubmit the form.
I'm sending the following to the server:
Probably sending a bad/expired session id.
Cookie: phpbb3mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bs%3 A5%3A%2286360%22%3B%7D; phpbb3mysql_sid=e5ab54e065e67b736f0e04e30287e880
You'll need to parse out the cookie and session id that the server sends back to you, put it in a variable, and send it with future GET/POST requests.
-
Jul 28th, 2009, 07:00 AM
#6
New Member
Re: Winsock: Making HTTP POST/GET Requests
Thank you for the reply will try that.
-
Dec 14th, 2009, 01:53 AM
#7
New Member
Re: Winsock: Making HTTP POST/GET Requests
Hi,
how attach jpg image in your code
please help
-
Jan 5th, 2010, 11:47 PM
#8
New Member
Re: Winsock: Making HTTP POST/GET Requests
Great program, I'm using winsock and I'm running into a problem and I noticed your program does the same thing
In your program, use the GET method and go to
news.yahoo.com
when the data comes in, scroll all the way to the bottom of the data,
you'll notice that it is truncated. This is just an example, there are tons of other web sites that this happens to too.
I've been getting headaches on how to fix this problem, I need to be able to retrieve web page data with winsock. Got any ideas?
Last edited by HookahSchwa; Jan 6th, 2010 at 12:57 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|