CSRF token validation failed

Facing an issue while trying to access the APIs with error
CSRF token validation failed