Run different permission_callback depending on HTTP method of custom REST API endpoint

Run different permission_callback depending on HTTP method of custom REST API endpoint

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