-1
How do I encrypt the posts I send via Ajax? For example in Telegram Web they do this, you can see by XHR with the requests sent and received.
Example of how it is in Telegram Web (I wish my application to be like this too):
Ps: I am developing with Javascript and PHP.
can use functions like crypt() http://php.net/crypt
– Daniel Omine
This request is not being made under
https
?– DontVoteMeDown
I don’t know. I wanted a practical example to see how it works!
– David Damasceno