Hi everyone. when sending data to API with multipart/form-data method,

you have to stringify the whole data in a single field? how can that be called? or every param is a field and then you need to stringify its value?

3 ответов

30 просмотров

You can look at open source library implementations, if you do not want to use a Library.

AdelaFoofur82 🛸- Автор вопроса
AdelaFoofur82 🛸- Автор вопроса
Воспоминания <last name><a href=></a>
You can look at open source library implementation...

I found that is the second option: if a parameter is an object, you need to stringify it

Похожие вопросы

Карта сайта