monke7769 / copy1

hayden chen
https://monke7769.github.io/copy1/
MIT License
0 stars 0 forks source link

CSP Spot Check #10

Open monke7769 opened 8 months ago

monke7769 commented 8 months ago

database, with database schema change

Show db.Column changes you have made to model/python file in Visual Studio Code 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

0.9/1

Show /authenticate endpoint code in Visual Studio Code Show and Demo /authenticate in Postman… Demo calling to endpoint Show JSON data passed in call Show Response window Show Cookie acquired window Cut/Copy/Paste Cookie into jwt.io and show decrypting payload postman with /api screen to access data under authentication

0.9/1

Show /api CRUD code in Visual Studio Code, expecting READ/GET code Show and Demo /api READ/GET endpoint in Postman… Demo calling to endpoint that requires Cookie Show Response/Data Demo Deleting cookie Demo calling endpoint again Show Response/Failure

0.9/1

total 2/2

monke7769 commented 8 months ago

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

image

Show initialization data code in VSCode

image

Demo delete database and run ./migrate.sh

image

image

Demo corresponding schema change in SQLite3

image

Demo initialization data captured in Column in SQLite3

image

monke7769 commented 8 months ago

Show /authenticate endpoint code in Visual Studio Code in api/user.py image

Show and Demo /authenticate in Postman… (http://127.0.0.1:8086/api/users/authenticate) {"uid": "hayden", "password": "password"} Demo calling to endpoint http://127.0.0.1:8086/api/users Show JSON data passed in call Show Response window Show Cookie acquired window

image

Cut/Copy/Paste Cookie into jwt.io and show decrypting payload

image

monke7769 commented 8 months ago

Show /api CRUD code in Visual Studio Code, expecting READ/GET code

image

Show and Demo /api READ/GET endpoint in Postman…

http://127.0.0.1:8086/api/users

Demo calling to endpoint that requires Cookie

http://127.0.0.1:8086/api/users

Show Response/Data

image

Demo Deleting cookie Demo calling endpoint again Show Response/Failure

image