+  planetsuper forums
|-+  Main» Games» Paintball2» POST data (as opposed to GET)
Username:
Password:
Advanced Search
Pages: [1]
  Print  
Author Topic: POST data (as opposed to GET)  (Read 346 times)
jitspoe
Platinum Member
***
Posts: 1511



« on: Jan 03, 2007, 02:32 AM »

I'll be researching this shortly, but I need to send some POST data (without using libraries like cURL - just using plain old sockets).  GET is easy, since it's all right in the url (http://whatever.com/index.php?var1=val1&var2=val2).   POST might be easy, too, but I haven't really looked into it yet.  Just thought I'd throw this out as an easy task I could use help on.
Logged

BALETED!
lords8n
Member
**
Posts: 147


« Reply #1 on: Jan 03, 2007, 07:45 AM »

The long version:
http://www.cs.tut.fi/~jkorpela/forms/methods.html

The short version:
http://www.asp101.com/samples/getpost.asp
Logged
Smokey
Member
**
Posts: 75


« Reply #2 on: Jan 03, 2007, 12:40 PM »

post is really the more secure of the two, you shouldn't need any additional mods or anything though.
Logged
jitspoe
Platinum Member
***
Posts: 1511



« Reply #3 on: Jan 03, 2007, 12:43 PM »

Thanks, but I was hoping for some code samples (using bsd-sockets, not HTML/php/etc.) or at least a specification of what needs to be sent.

I think with POST, you just add a couple CRLF's after the header and start the data, but I'm not sure.  I'm also not sure if it's even necessary.  Is there a limit on how long a GET string can be?  A limit on how big POST can be?

Edit: I think this might cover it: http://developers.sun.com/techtopics/mobility/midp/ttips/HTTPPost/
« Last Edit: Jan 03, 2007, 12:47 PM by jitspoe » Logged

BALETED!
Pages: [1]
  Print  
Show unread posts since last visit

 
Jump to: