我已经使用https部署了一个网站。然后,我用flask设置了一个python server api,并用.crt和.key保护它,接下来是一个教程。因此,我将https://a.xyz网站作为前端,https://45.119.x.y:5000作为后端应用编程接口 if __name__ == "__main__":
我很难将使用htppie的post请求转换为python requests.post。这个问题一般是关于如何进行这样的转换,但我将以我所做的具体请求为例。因此,我有以下使用httpie的post请求,它工作得很好:
http post https://api.thegraph.com/subgraphs/name/graphprotocol/graph-ne