How to make http.request at the same cookie?

Hi ~

I use http.request to connect a web service, plurk. (http://www.plurk.com/API/)
The first step is to connect the login, (http://www.plurk.com/API/#/API/Users/login) , and I got the success response.
But when I try to connect other api that required login, I got the fail response that told me must login first.
My code is

[lua]local http = require(“socket.http”)
local plurkApiUrl = “https://www.plurk.com/API/
local result

local postBody = “api_key=APIKEY&username=idben&password=password&no_data=1”
result = http.request( plurkApiUrl …“Users/login” , postBody,cc )
print(result) – {“success_text”: “ok”}

local postBody_add = “api_key=APIKEY&content=test&qualifier=:”
result = http.request( plurkApiUrl …“Timeline/plurkAdd” , postBody_add )
print(result) – {“error_text”: “Requires login”}[/lua]

I guess these two http.request are not use the same cookie, so the web service cannot get the login cookie.

How can I use cookie in LUA?
BEN [import]uid: 5842 topic_id: 1562 reply_id: 301562[/import]

*push*

I have the same problem :frowning: [import]uid: 42680 topic_id: 1562 reply_id: 27178[/import]

Sorry, but i REALY need this. So i will pay the first who can help me 10€ (13$) by paypal. [import]uid: 42680 topic_id: 1562 reply_id: 27389[/import]