Design comparison
Solution retrospective
I didn't get the api's instructions I haven't done much of those it's confusing, any help would be wonderful. I was going to use axios but I got so lost.
Community feedback
- @nelsonleonePosted almost 2 years ago
HELLO.......congrats on completing this challengeWell doneππ
Based on what your stressed on , in your question.
The API response is combination of a POST and GET request. There is a parameter
?url=""
, this is where you insert the url you want to shorten,You can get the user input , and use template string to put in the url.
(
http:....api.......?url=&{userInput})
It will give you back response of different shortened url , which you can take and display them where needed.
Hope this comment was helpful, tho short, hope you understood Have fun coding
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord