Skip to content

Access Service with RESt API and TEST bot question #2

@hohosyk

Description

@hohosyk

@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

  1. 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.

  2. I tested POSTMAN as like: (HEADER/BODY)

  3. 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.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions