WP Rest Api GET method restriction on route, but POST method also works

WP Rest Api GET method restriction on route, but POST method also works

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)