headers = {}headers['User-Agent'] = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36'headers['Referer'] = 'http://。。。。'headers_send = cjson.encode(headers)--采用 cjson 构造请求内容,并进行 escapepost = {}post['mobile'] = "18907317420"post_send = cjson.encode(post)post_escaped = http.build_request(post_send)status_resp, headers_resp, body_resp = http.post("http://。。。", 3, headers_send, post_escaped)if status_resp ~= nil thendialog(status_resp,0)if status_resp == 200 thendialog(string.len(body_resp),10)endend
如果觉得《iO逆向 触动精灵网络请求》对你有帮助,请点赞、收藏,并留下你的观点哦!