REQUEST:
GET http://localhost:8000/api/details
HEADERS:
{'Authorization': 'Bearer $token'}
Press ENTER when ready (0):
DEBUG:Initial Test Result, based on expected response code: False
RESPONSE:
{"detail":"Authentication credentials were not provided."}
This error message comes when the $token value isn't set i.e. Authentication token isn't provided.
I want to use an access token obtained from a previous Authentication route but I am unable to properly set it.
test.yaml
Error Message
This error message comes when the $token value isn't set i.e. Authentication token isn't provided.
Equivalent cURL request is
Any help is much appreciated