APIs and Microservices Project #5: trouble with tests 2 and 3

Tell us what’s happening:
File Metadata Microservice Project:
My project passes the first and final tests, but not the two in between:
Test 2: You can submit a form that includes a file upload.
Test 3: The form file input field has the name attribute set to upfile .

Nonetheless, I’m pretty sure I have my html form field correctly configured (I simply copied it from the freeCodeCamp github), and I can’t figure out what might be wrong with my code, either.

I enclose screen shots of my code and the html file for reference…

I appreciate any comments!

Your project link(s)

solution: https://fcc-apis-projects-dkr.herokuapp.com
githubLink: GitHub - DavidCastefa/FCC_APIs_and_Microservices_Projects: The final projects for the freeCodeCamp "APIs and Microservices" course

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Challenge: File Metadata Microservice

Link to the challenge:

The tests expect the form at the root of your app (https://fcc-apis-projects-dkr.herokuapp.com), but it is actually located at https://fcc-apis-projects-dkr.herokuapp.com/filemetadata.

You could of course submit https://fcc-apis-projects-dkr.herokuapp.com/filemetadata as your solution link, but then the api should be at https://fcc-apis-projects-dkr.herokuapp.com/filemetadata/api/fileanalyse not https://fcc-apis-projects-dkr.herokuapp.com/api/fileanalyse.

1 Like

Yes, that worked perfectly!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.