I received an image from the clipboard as a bitmap and need to send it to the server as a file. How can I achieve this without saving it as a file on the user's computer?
P粉0527243642024-03-21 00:47:43
Since you did not mention the technology stack, I will answer this question from a general theoretical perspective.
You should convert the clipboard data to a byte stream and send it to the server via an HTTP multipart/form data request.