N
N
Nentra2021-09-18 16:56:03
AJAX
Nentra, 2021-09-18 16:56:03

Question: formData = new FormData() - is it possible to send $.ajax 90,000 characters?

formData = new FormData() - is it possible to send a $.ajax request with 90,000 characters?

at the moment I send it as a string, it is sent normally, it only takes a long time to process, I decided to try to send it by writing to formData, but the error "server failure" pops up, if I send it as a string, then this error does not come out.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexandroppolus, 2021-09-18
@Alexandroppolus

The server may not support the multipart/form-data format.
The string is most likely sent as application/x-www-form-urlencoded or just plain text.

S
SagePtr, 2021-09-18
@SagePtr

The server may have a limit on the amount of data transferred

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question