我在几次成功输出后运行我的代码,我现在有这个错误。
引发 JSONDecodeError("Extra data", s, end(
JSONDecodeError: Extra data
你能帮帮我吗?
payload={"name":"new data"}
requestpost=requests.get('https://...free.beeceptor.com/favicon.ico',json=payload)
current_t0 = requestpost.json()
我很确定您应该在GET
请求中使用data=
参数而不是json=
。