'want to check my logout function in django is working or not
i have 2 api
1--login 2-- logout
i have to make a "SAMPLE_API" which which will be be accessed by only loggedin user can able to access if loggedout user/new user is tring to access that "SAMPLE_API"--- than it should return "UNAUTHORISED"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
