Lua中 MinXmlHttpRequest如何发送post方式数据

    local xhr=cc.XMLHttpRequest:new()
    xhr.responseType=cc.XMLHTTPREQUEST_RESPONSE_JSON
    xhr:open(“POST”,"https://www.baidu.com")
    xhr:send("a=1&b=2")
相关文章
相关标签/搜索