Hello freecodecamp community!
Here is my URL Shortener Microservice.
It looks like I’ve been stumped for almost 2 weeks with this project. 3 of the 4 tests in this project passed.
The biggest obstacle is this test :
“If you pass an invalid URL that doesn’t follow the valid http://www.example.com format, the JSON response will contain { error: ‘invalid url’ }”
I appreciate the feedback. Thank you.
Hi l3ftyf464
Try with replacing your error message (server.js file, line 76) with following message: { error: ‘invalid url’ }
Tests tend to be case-sensitive.
system
closed
#3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.