34 lines
638 B
Markdown
34 lines
638 B
Markdown
|
|
https://www.youtube.com/watch?v=WGtj1Ihlf10&list=PLT9miexWCpPW6Z_OXNv2d78cqCrZaPrVG&index=11
|
||
|
|
get, post, put/patch, delete
|
||
|
|
|
||
|
|
![[Pasted image 20241114084652.png]]
|
||
|
|
![[Pasted image 20241114084843.png]]
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
![[Pasted image 20241114084916.png]]
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
![[Pasted image 20241114084945.png]]
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
Routes.php
|
||
|
|
|
||
|
|
![[Pasted image 20241114085118.png]]
|
||
|
|
|
||
|
|
Test using postman
|
||
|
|
![[Pasted image 20241114085726.png]]
|
||
|
|
|
||
|
|
![[Pasted image 20241114085814.png]]
|
||
|
|
![[Pasted image 20241114085826.png]]
|
||
|
|
Remove debugging noise in payload by switching to production environment in .env
|
||
|
|
|
||
|
|
Method spoofing ( changing POST into DELETE request )
|
||
|
|
![[Pasted image 20241114090303.png]]
|
||
|
|
|
||
|
|
|
||
|
|
|