base64 Image - HTTP Error 414. The request URL is too long.
Posted on 2016-10-13
I have developed a mobile application that connects to a web service to insert data into my SQL database. I am attaching images using the device's camera, and I convert this image into a base64 as a parameter inside the URL. I have been trying to send it to my web service, but I get this error:
HTTP Error 414. The request URL is too long.
The URL is approximately 22000 characters long. I am using post. I already maxed the web.config maxAllowedContentLength and maxUrl and all those.
I am also using angularjs and ionic.