AttributeError: module 'requests' has no attribute 'get'

I successfully deployed a FastAPI webservice (tiangolo/fastapi on github.com).
I tried to extend the function of my API but I soon get stuck.

I thought I have some small storage space in free plan so I plan to store some small files for my API to process. However, it complains about my requests.get call.
AttributeError: module ‘requests’ has no attribute ‘get’
Is there any way I can use the storage and save/read small files

okay, I found this post:
How to access file system after deployment? - General - Render
It looks like I need to pay for the disk space. This is too bad. I only need <10MB and I really don’t want to pay.
I guess I will need to try other API services.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.