I do not understand requests with POST and why do we need to use API key here

https://www.codecademy.com/paths/web-development/tracks/webdev-intermediate-javascript/modules/intermediate-javascript-requests/lessons/requests-i/exercises/xhr-post-requests-iii

Good day!) Actually I am stuck on requests with POST. I do not understand why do we send API key, if we are going just to shorten url? Also I do not understand what data do we send on step 9 if it is not even defined? This lesson with POST was very hard to understand for me at all, so I need your help.

Thanks a lot in advance!

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