How can I solve source.on is not a function when using form data? #3842
Unanswered
positivedeveloper36
asked this question in
Help
Replies: 2 comments 12 replies
-
Hello, can you provide more details about this code or a reproduction repository? Thanks |
Beta Was this translation helpful? Give feedback.
10 replies
-
Hey @positivedeveloper36! 👋🏻 Not sure where AdonisJS fits in your question. This place is dedicated to questions you may have for AdonisJS. It is not meant to be used to ask generic questions on JavaScript. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My code like this :
When I call the code from postman, I find this error
"message": "source.on is not a function"
I add
return
to see the formData in the postmanI had install library form data and axios in my code and I had import it
I want to post multiple file to a external api
How can I solve this problem? Please help. Thanks
Additional description
So I'm building an api to handle multiple files . Later these files will be stored in a file server which will be sent via my api. So in my api there is a third party api to store the files
The full error ::
Beta Was this translation helpful? Give feedback.
All reactions