Forums

Access to arbitrary websites is not available from free accounts

I am using django's rest framework for authentication and making tokens using 'auth-token-api' call , but whenever i use requests package to get response from my custom created api, it returns None. Upon requesting in console using curl , i got this message along with an html page content. I understand that we can't access non whitelist apis in free accounts but the api is made using the web app itself. Please Help , this is for a competition

Could you show us the exact command you run? Write to support@pythonanywhere.com if you do not want to share it on the open forums.