Everything was tested ok on my local host. I got the expected json response, and new doc was successfully created in mogodb collection. But on split, no matter how I try, there’s only orginal_url in the json response, no shor_url. The same code here and on my local machine. How can we explain this?
I really don’t know how this happened. I saw that residual sometimes as well, but I promise I fixed that key name (everywhere) before I post this question here. Sometimes it’s really head-scratching to work with replit. But I don’t know anywhere else should I complete these tasks to get the certificate. I would say it would be much fast if I can submit the result running on my local machine to the solution.