CSRF Where Token Validation Depends On Request Method

Solution for CSRF where token validation depends on request method lab from PortSwigger Web Security Academy