How to protect a post request payload to the server?

58 Views Asked by At

When I enter username, password and hit the login button, then a POST request goes to the server.

Does the password go in plain text format in the header? And so is https the only solution to encrypt the communication so an attacker cannot view it?

0

There are 0 best solutions below