This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Help me !
#1
-------------------
http = require('socket.http')
require('socket.http')

local anh = http.request {
  url = "api.speedsms.vn/index.php/user/info",
  headers = { authentication = "Basic " .. (mime.b64("kuDkYXtIBidDjCRmN8z_Yt9U12Dbs8TZ:x")) }
  }
alert('value is:'..anh)
---------------------
It reported error value "he" is "a nil value"
Am I wrong in that? Any wrong structure? Please help me !
Thank so much everyone.  Heart
Reply


Messages In This Thread
Help me ! - by phongvucba - 26.10.2017, 09:34
RE: Help me ! - by admin - 26.10.2017, 09:43
RE: Help me ! - by phongvucba - 26.10.2017, 10:03
RE: Help me ! - by phongvucba - 02.11.2017, 10:00
RE: Help me ! - by admin - 03.11.2017, 08:05
RE: Help me ! - by Erwin van der Zwart - 03.11.2017, 08:16
RE: Help me ! - by admin - 03.11.2017, 08:48
RE: Help me ! - by phongvucba - 04.11.2017, 04:40

Forum Jump: