how python http request and response works

前端 未结 3 1538
逝去的感伤
逝去的感伤 2021-02-09 13:56

I\'m newbie for python, I\'m having task so I need to scan wifi and send the data to the server, the below is the format which i have to send, this work fine when enter manually

3条回答
  •  甜味超标
    2021-02-09 14:59

    The traceback doesn't come from the same code you pasted.

    On the error traceback there's a line:

    conn.request("POST","http://202.45.139.58:8080/ppod-web",params,headers)
    

    It is the line 9 of http.py however it is not on the code you pasted.

    Please paste the actual code.

提交回复
热议问题