LuaSocket Help

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Eversome
Prole
Posts: 5
Joined: Sat Jul 20, 2013 9:48 am
Location: Massachusetts

LuaSocket Help

Post by Eversome »

This isn't exactly related to LOVE, but it pertains to the LuaSocket API packaged with it.
Hello. I am trying to convert a python code to Lua code, but the only problem I have is translating Python's Requests API to Lua's LuaSocket API. The Requests API seems to return a nice little table when using requests.get("http://www.website.com") that is structured
{
"cookies"=<insert cookies here>,
"content"=<insert website content here>,
etc.
}
Is there any way to get this nice little table (or something similar to it) with LuaSocket?
wats a lau?
Post Reply

Who is online

Users browsing this forum: Bing [Bot], swuare and 2 guests