everything in my project seems to work but when i want to pass the test these two dont ckeck:
You can POST a URL to /api/shorturl
and get a JSON response with original_url
and short_url
properties. Here’s an example: { original_url : 'https://freeCodeCamp.org', short_url : 1}
When you visit /api/shorturl/<short_url>
, you will be redirected to the original URL.
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/109.0.0.0 Safari/537.36
Challenge: Back End Development and APIs Projects - URL Shortener Microservice
Link to the challenge: