News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
luasocket help
Author Message
asafp
Member
***


Posts: 81
Group: Registered
Joined: Jan 2008
Status: Offline
Reputation: 0
Post: #1
luasocket help

I'm trying to do a HTTP POST and can't figure out how to send the postdata.

Doc http://www.tecgraf.puc-rio.br/~diego/pro.../http.html
states "source: simple LTN12 source to provide the request body. If there is a body, you need to provide an appropriate "content-length" request header field, or the function will attempt to send the body as "chunked" (something few servers support). Defaults to the empty source;"

I just want to send a simple string, something like ltn12.source.xxxx(postdata), but can't figure out what xxxx should be.

Any direction would be greatly appreciated.

02-14-2008 02:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
luasocket help - asafp - 02-14-2008 02:06 PM
RE: luasocket help - Juergen - 02-14-2008, 07:58 PM
RE: luasocket help - asafp - 02-15-2008, 03:13 AM
RE: luasocket help - asafp - 02-18-2008, 04:55 AM
RE: luasocket help - asafp - 06-30-2008, 04:58 AM
RE: luasocket help - asafp - 06-30-2008, 09:57 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: