C:\Users\Anker\Desktop>python demo.py
Traceback (most recent call last):
File “demo.py”, line 42, in
print (run_main())
File “demo.py”, line 39, in run_main
res=send_post(url,data)
File “demo.py”, line 12, in send_post
res=requests.post(url=url,data=data).json()
File “C:\Program Files\Python37\lib\site-packages\requests\models.py”, line 897, in json
return complexjson.loads(self.text, **kwargs)
File “C:\Program Files\Python37\lib\json_init_.py”, line 348, in loads
return _default_decoder.decode(s)
File “C:\Program Files\Python37\lib\json\decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “C:\Program Files\Python37\lib\json\decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)