URL Shortener - Redirecting to roginal site not passing

Tell us what’s happening:
My project passes everything but the redirecting shorturl to original url. However when I manually test it, it passes the test.

Your project link(s)

solution: https://replit.com/@ayandamarotya/boilerplate-project-urlshortener-1

Challenge: URL Shortener Microservice

Link to the challenge:
https://www.freecodecamp.org/learn/back-end-development-and-apis/back-end-development-and-apis-projects/url-shortener-microservicePreformatted text

Log your responses and you get

  original_url: 'https://boilerplate-project-urlshortener-18.jeremyagray.repl.co/?v=1642640046788',
  shorturl: 'av1fve'

The spec gives

{ original_url : 'https://freeCodeCamp.org', short_url : 1}

as an example. Compare the two and you’ll find your problem.

1 Like

Lol thanks it worked and I passed.

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