Answer the question
In order to leave comments, you need to log in
How to send an image using HTTP?
Salute to all, there was a problem when sending an image via HTTP GET.
The image is a screenshot, the size is dynamic, on average it ranges from 130 to 160kb, after which it is encrypted in base64 to be sent to the server via the HTTP protocol with the GET parameter.
example: ip/images/upload.php?date=(base64_encoded_image)
The problem arises because such a number of characters cannot be in the request (in encrypted form, their range is from 200.000 to 250.000), what can be done with this ailment?
Answer the question
In order to leave comments, you need to log in
>encryption in base64
Not encryption, but encoding. It makes no sense, since at first the picture was compressed (jpeg, of course), and then inflated (4 times).
Change technology solution or developer. The simplest - on a POST request
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question