Back End Development and APIs Projects - URL Shortener Microservice :: Error 404 ..etc

Tell us what’s happening:
Describe your issue in detail here.

I am able to do the steps that the test ask for but I am not passing any of them. I do not know if it’s something really silly or I am forgetting something very important. :smiley:
…and also, I suck at regex! :smiley:

For the folks that have passed this, could you check out my code and see where I might have done something to fail all of the tests.

FWIW, in the dev console I am getting an Error 404 POST for shorturl. But that isn’t making sense to me so I need some help if possible.

Great to finally find this community. And what great courses they have!

Your project link(s)

solution: boilerplate-project-urlshortener - Replit

Your browser information:

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

Challenge: Back End Development and APIs Projects - URL Shortener Microservice

Link to the challenge:

If I try to submit which is a valid url, your app sends back:

{"error":"Invalid URL"}

You need to figure that out first.

FYI - You do not need to use any regex to validate the url. You can use the information in the Hint section of the project instructions to valiate the url.

Thanks for mentioning the hints, which lead me to the dns module. This was key to getting all of the tests to pass. Thanks again!

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