JSONDecodeError: Expecting value: line 1 column 1 (char 0) while printing request.json()

后端 未结 0 501
深忆病人
深忆病人 2021-01-02 00:42

I am getting this error while trying to get data from python flask API.

Here is my code:

import requests
#import json
url = \'http://localhost:5000/\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题