Managing a server is pretty complicated, but building with serverless architectures simplifies this process. As a student, mastering serverless functions can help you to build projects that solve real-world problems by integrating APIs, constructing user interfaces, and analysing data. Javascript is the core language of this course - one of the most in-demand languages to learn in the industry.
"When I followed the walkthrough video for step 3 of week 4. I would get an error inside of my upload function. parse-multipart's Parse function was throwing an exception because it was trying to parse parts of the FormData object that it shouldn't be. This is because in the walkthrough we pass our form from the html to the constructor of the FormData object, so it included all the form elements like the textbox in our request. When parse-multipart got to the textbox info while parsing the data it would throw this exception. My fix was to use the default constructor when creating the FormData object like this:"
Identify Steps:
Week: 4
Describe the Issue
"When I followed the walkthrough video for step 3 of week 4. I would get an error inside of my upload function. parse-multipart's Parse function was throwing an exception because it was trying to parse parts of the FormData object that it shouldn't be. This is because in the walkthrough we pass our form from the html to the constructor of the FormData object, so it included all the form elements like the textbox in our request. When parse-multipart got to the textbox info while parsing the data it would throw this exception. My fix was to use the default constructor when creating the FormData object like this:"
Proposed Fix
Rerecord video incorporating changes above!
Source: https://piazza.com/class/l314kw8waxv46z?cid=95