rest_framework.authentication.TokenAuthentication
```
coreapi action api-token-auth create
<Error: 400 Bad Request>
password: [
"This field is required."
]
username: [
"This field is required."
]
```
How could i setup username and password?
I have test it:
coreapi action api-token-auth create --param passowrd=pwd --param username=root
but,
coreapi.exceptions.ParameterError: {'passowrd': 'Unknown parameter.',
'username': 'Unknown parameter.'}
===============================================
```
coreapi get http://127.0.0.1:8000/schema/
<My API "http://127.0.0.1:8000/schema/">
api-token-auth: {
create()
}
users: {
list()
read(id)
}
```
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.