I ended up finding the solution here 
<https://stackoverflow.com/questions/44201598/coreapi-only-lists-list-and-read-method-even-when-user-is-logged#_=_>
.

It may be worth adding a notation on Tutorial 7 to state to review the 
coreapi-cli docs if there are issues experienced. My first thought was that 
I had done something wrong with the code.

For those that don't want to review the link, the issue is with coreapi not 
adding the credentials to the headers once it has been created. The 
coreapi Github issue can be found here 
<https://github.com/core-api/coreapi-cli/issues/19>. As instructed, you 
will need to add the credentials in coreapi, but you will need to add those 
credentials to the headers immediately after to ensure you can run the 
commands that follow.

$ coreapi headers add "Authorization" "Basic <...>" basicAdded 
headerAuthorization: Basic <...>


Once the above is done, you can continue through the last chunk of the 
tutorial.

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

Reply via email to