Guys,
I just used POSTMAN rest client and I am getting the CSRF token now and its hitting the backend SAP without causing any error code as I have mentioned above.
So now I have the CSRF token from the GET method which is good.
As of now, working on the UI5 code to use GET and POST method in sequence to update backend. Somehow, not been able to achieve it still. In chrome console I still see the unauthorization error although I am hard-coding my credentials.
Will keep trying and updating the post when successful.
regards,
Ags