There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.
If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.
Join the Discussion. Help a fellow learner on their journey.
Ask or answer a question about this exercise by clicking reply () below!
Agree with a comment or answer? Like () to up-vote the contribution!
I just went back to the exercise, and everything is working as expected.
We are on the same ‘end’. Moderators aren’t Codecademy staff. We just spend a lot of time voluntarily trying to be helpful on the forums. If you’d like to post your code, either myself or someone else may be able to help you out. You could try running your code with your browser console open to see if any error messages are displayed.
https://api.rebrandly.com/v1/links this link is the problem it says it’s not authorized that is why no POST request works, or at least that’s that my console says.
General question: I just wonder why we put “renderRawResponse(jsonResponse)” and then delete it after to put “renderResponse(jsonResponse)”? Is this to check if it works or maybe see the differences?
It might be to do with your API key, I had the same issue went over my code again and realised I hadn’t taken an angle bracket out, once I correctly inputted my API key it worked.
So to well understand, is it the same purpose of the previous chapters with Request POST with the XHR JS object ?
If so why do we have to use one and not another ?
For people wondering why nothing is showing I’ve found that rebrandly needs about half an hour before your own generated API key works. So if you’ve completed every step and you’ve just set up your own API key, leave it for half an hour and try again and it should work.
Hello everyone, I was experiencing the same issue, after inputting a URL nothing appearing. Go back to where you entered your rebrandly api key in the code editor, and get rid of the <> tags around your apikey.
I have a question about the rendered the jsonResponse using the second .then().
I cannot seem to locate in the helperFunction.js where the function “renderResponse( jsonResponse)” parses the recieved JSON data into JavaScript for the shorturl to be obtained?