PyWebIO icon indicating copy to clipboard operation
PyWebIO copied to clipboard

Processed input data on the client side

Open bka1988 opened this issue 1 year ago • 0 comments

Hello! Is it possible to send data from the input field to the server, having previously processed it on the client?

It's going like this now: {"event":"from_submit","task_id":"login-171252656","data":{"oper_id":"406","pwd":"secret 406"}}

Can I process the data from the field on the JavaScript side with a certain algorithm?

For example MD5(secret 406) = 9acccec70230acda8431f332c33d3ad

I would send it over the network like this: {"event":"from_submit","task_id":"login-171252656","data":{"oper_id":"406","pwd":"9acccec70230acda8431f332c33d3ad"}}

bka1988 avatar Jun 21 '24 11:06 bka1988