AkshayNagesh / _posts

0 stars 0 forks source link

CSP Quiz #1

Open AkshayNagesh opened 9 months ago

AkshayNagesh commented 9 months ago

database, with database schema change

Show db.Column changes you have made to model/python file in Visual Studio Code ✅ image image

Show initialization data code in VSCode

Demo delete database and run ./migrate.sh Demo corresponding schema change in SQLite3 Demo initialization data captured in Column in SQLite3

postman with /authentication screen

Show /authenticate endpoint code in Visual Studio Code Show and Demo /authenticate in Postman… ✅ image

Demo calling to endpoint

Show JSON data passed in call ✅ image

Show Response window ✅ image

Show Cookie acquired window ✅ image

Cut/Copy/Paste Cookie into jwt.io and show decrypting payload postman with /api screen to access data under authentication ✅ image

Show /api CRUD code in Visual Studio Code, expecting READ/GET code Show and Demo /api READ/GET endpoint in Postman… ✅ image

Demo calling to endpoint that requires Cookie ✅ image

Show Response/Data ✅ image

Demo Deleting cookie

Demo calling endpoint again Show Response/Failure ✅ image

jm1021 commented 9 months ago

FYI, the database adding column is not explained through questions and demo. The remainder shows Postman, but does not point to relevant code pieces.