deep-qa
deep-qa copied to clipboard
Access Service with RESt API and TEST bot question
@Samurais Hello Thank you for the guide!! I tested Access Service with RESt API with POSTMAN, and when body says {"message": "hello"}, then, I got following message as: { "detail": "Invalid username/password." }
questions is that
-
Do I need to log in first at http://127.0.0.1:8000/admin/? I don't know username and password. I tried to find username and password at "db.sqlite3 " and when I entered Username as "admin" and password as "pbkdf2_sha 256$30000$3Nynf4nfaN8w$XNnpLTYHg7pXOyOnvxlomOQOsEkuYQzhkcc074zuRkI=", I failed to log in.
-
I created folder "rest_framework" at C:\Program Files\Anaconda3\Lib\site-packages\django\contrib\admin\templates\rest_framework and created api.html. But I don't know how to enter my question to bot.
hi, I am also concerned about this project recently. I think it is authorized. you can use curl
with -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM='
, this server base on django , it maybe help you --> how-are-permissions-to-access-to-django-rest-api-managed