How to use middleware to implement request encryption and decryption #5429
jiezhiyong
started this conversation in
General
Replies: 1 comment
-
not sure what you want to do here, can you please provide more context? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to use middleware to implement: client encrypts request body -> server decrypts request body -> server encrypts response body -> client decrypts response body
When using middleware to implement request encryption and decryption, I encountered some problems: request middleware only works on the server side and cannot modify the request body before the client initiates the request. Function middleware can only modify the request header, not the request body.
Beta Was this translation helpful? Give feedback.
All reactions