File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -163,12 +163,17 @@ This module helps to generate secure APIs using DRF via a simple workflow:
163
163
- Access the API in the browser:
164
164
- ` /api/MODEL_NAME/ `
165
165
166
- The API is secured using the JWT mechanism provided by DRF .
166
+ The API is secured using the JWT token provided by ` /login/jwt/ ` request (username & password should be provided) .
167
167
168
168
- GET requests are public (GET all, get Item)
169
169
- Mutating requests are protected by token generated based on the user credentials (` username ` , ` pass ` ).
170
170
171
- > A POSTMAN Collection Sample can be found [ here] ( ./media ) .
171
+ > Two POSTMAN Collections are provided in the ` media ` directory:
172
+
173
+ - [ Books API] ( ./media/api-books.postman_collection ) - that uses PORT ** 5000* for the api
174
+ - [ Books API 2] ( ./media/api-books-docker.postman_collection ) - that uses PORT ** 5085* for the api (default port in Docker)
175
+
176
+ In case both port are unusable in your environment, feel free to edit the files before POSTMAN import.
172
177
173
178
<br />
174
179
You can’t perform that action at this time.
0 commit comments