How to find the value of the user password in wordpress and send it to another server via rest api

WordPress is not storing the password in the database in the readable format, so you can’t simply get the password for any user. Passwords are stored in the hashed format, and they can’t be reversed back to a readable format.

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