无法在 Corona SDK 中解码我在 PHP 中编码的 JSON 变量

local URL = "http://localhost:8080/corona/send.php?email=" .. sender .. "&sendto=" .. sendto .. "&message=" .. message;
            --local URL="http://localhost:8080/corona/fetch.php?usr="..namee
            local response = http.request(URL)
    if response == nil then
    print("No Dice")
    else
    local data=json.decode(response)
    print ("something ----:"..data[1]);--这个部分出错了
点赞