Handling of FormData #4474
Replies: 3 comments 1 reply
-
@carpben However, the quote consists of two conditions:
But there is nothing about plain object type. It doesn't try to detect non FormData type for transformation. Only plain objects, nothing more. Other payloads type just pass through as it was before.
FormData is not a plain object type. |
Beta Was this translation helpful? Give feedback.
-
I like the idea of auto parsing, I also would like the option to keep the old way axios worked. I would like to explore in the new verison of axios this being a module of axios with a default way of working, this would be much better as people would essentially get to choose how they want axios to work with their own setup. |
Beta Was this translation helpful? Give feedback.
-
axios should not convert payload to form-data internally, developer can do it via 3rd party packages, for example this package |
Beta Was this translation helpful? Give feedback.
-
Discussion around how we are going to handle from data in axios.
Beta Was this translation helpful? Give feedback.
All reactions