resthttphttpshttp-headershttp-post

Difference between https and http post method


Https retrieves data from the server in secure way(Hypertext Transfer Protocol Secure), Http(Hypertext Transfer Protocol) or Https(ypertext Transfer Protocol Secure) post method as I know sends data encoded for reassuring sensitive information. If both Https and post method secures data what is the difference?


Solution

  • HTTP POST request will be sent unencrypted and any middle man in the communication can see the plain text

    However with HTTPS all the data is encrypted and only the server can decrypt it to see the data that's coming

    You maybe misunderstanding that encoding is not encryption by the way.