K
K
khipster2016-03-06 20:44:37
JavaScript
khipster, 2016-03-06 20:44:37

How to overcome the panic fear that when sending a POST request with multipart / form-data encoding, the boundary will match the content of one of the fields?

By the way, maybe someone knows - FormData uses boundary?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TyzhSysAdmin, 2016-03-07
@POS_troi

Is this what you need to enter in the fields so that it coincides with the random generation of boundary ? :)
FormData - yes.

F
Fredcapit, 2016-03-10
@Fredcapit

Leave this job (insertion of the boundary) to the browser.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question