local numericField = native.newTextField( _W/2, 150, 220, 36 )
numericField.inputType = “number”
–continuation
–API
local mime = require(“mime”)
local json = require(“json”)
–local userid = numericField
local URL = "http://saite./api.php?id=
… numericField.text
–continuation
The console displays an empty query, ie numericField.text not substitute data from the.
And if you do a direct request, as follows:
local URL = “http://saite./api.php?id=1”
All turns out. Tell me how to fix it?
And how to change the style native.newTextField?
I would be grateful if you answer all the questions.