Skip to main content
5 events
when toggle format what by license comment
Aug 14 at 8:20 comment added VLAZ You use FormData but then put that into an object. You're supposed to do axios.post(url, formData, config) instead you hyave axios.post(url, someOtherObjectContainingFormData, config). It's not even quite clear what you want to do - either do the entire postData as a FormData instance, or maybe you meant to use axios(config).
Aug 14 at 8:20 comment added Jaromanda X You've shown two separate functions - how do they work with each other? why not append api and token to the formData - since it is formData you want to send in the request
Aug 14 at 8:11 history edited VLAZ CC BY-SA 4.0
added 4 characters in body; edited tags
S Aug 14 at 8:10 review First questions
Aug 18 at 6:31
S Aug 14 at 8:10 history asked Yogita Karande CC BY-SA 4.0 created from wizard