We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After downloading the project and followed all steps described in readme, I try to acces from browser to http://127.0.0.1:8000/api/v1/songs/ http://127.0.0.1:8000/api/v1/songs/2/ http://127.0.0.1:8000/api/v1/auth/login/ http://127.0.0.1:8000/api/v1/auth/register/ and I get Bad Request.
The text was updated successfully, but these errors were encountered:
You need to add 127.0.0.1 to allowed_host in settings.py, and you could also put DEBUG = True to see the message errors.
DEBUG = True ALLOWED_HOSTS = ["127.0.0.1"]
Sorry, something went wrong.
@set92 thanks for the solutions mate!
I did the changes in the settings.py but I am getting the output as ( is the output correct ? )
@set92
No branches or pull requests
After downloading the project and followed all steps described in readme, I try to acces from browser to
http://127.0.0.1:8000/api/v1/songs/
http://127.0.0.1:8000/api/v1/songs/2/
http://127.0.0.1:8000/api/v1/auth/login/
http://127.0.0.1:8000/api/v1/auth/register/
and I get Bad Request.
The text was updated successfully, but these errors were encountered: