wp remote post getting a 404 error code

I solved it by changing the method to PUT & httpversion to 1.1

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