Browse Source

fix: 请求里多了个字母

PKM-Bai 3 years ago
parent
commit
1e55247552
1 changed files with 1 additions and 1 deletions
  1. 1 1
      demo/http/main.lua

+ 1 - 1
demo/http/main.lua

@@ -193,7 +193,7 @@ sys.taskInit(function()
         -- opts["dst"] = "/data.bin"       -- 下载路径,可选
         -- opts["timeout"] = 30            -- 超时时长,单位秒,可选
         -- opts["adapter"] = socket.ETH0  -- 使用哪个网卡,可选
-        -- local code, headers, body = http.request("POST","http://site0.cn/api/httptest/simple/date", e
+        -- local code, headers, body = http.request("POST","http://site0.cn/api/httptest/simple/date",
         --         {}, -- 请求所添加的 headers, 可以是nil
         --         "", 
         --         opts