Hello Freecodecamp community!
Currently working on the URL Shortner Microservice project. I got 3 of the 4 tests to pass.
How do i get the final test to pass?
“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’ }”
My code is here Glitch :・゚✧
Thank you. I appreciate the feedback.