Hi,
is there any way to handle JSON with more than 20 MB?
We want to create a Webservice in SnapDevelop, that sends or retrieves E-Mails. Our application sends the data to the Webservice and the Webservice sends the E-Mail or the retrieves them. The E-Mail can have attachments.
Outgoing, we create the JSON using the JSONGenerator, which works, until the amount of data exceeds 20 MB. The JSON contains all information that is needed to send the E-Mail. The files are send as Base64 encoded strings inside the JSON. If the JSON would reslt in more than 20 MB, the result is an empty string, as described in the PB Help.
Same problem with incoming data.
The Webservice can handle JSON Data with more than 20 MB if i send them with Postman.
Is there any way to do that with one reqest?
Any ideas how to do that?
Regards,
Gerrit Bruns
The mentioned limitation from PB is the problem.
At the moment i don't see a way to send or receive a request with more than 20 MB, or to handle a JSON with more than 20 MB.
Don't know if there would be a problem with 64 bit. The problem is, that it isn't easy to change our application to 64 bit, due to other 3rd party components. If we just compile it in 64 bit, many thinks won't work. We would have to change many things to make it work under 64 bit.
Regards, Gerrit
is there no problem with JSON larger than 20 MB in 64 bit? It isn't mentioned if the limitation is only for 32 bit.
If that is no problem, i could give it a try.
Not sure if that would be a good idea, since it is possible that the data contains information for the E-Mail Server authentication, like username and pwd.
What would be the best way to do that? Write everything in a file and then let that application handle the file, create the JSON based on the information and send the request?
Regards, Gerrit