tank you. But i dont understand that code at all

And it throws me No such identifier: $urlget
But i have looked at it more and the login page is this one
https://profile.callofduty.com/cod/loginwich i need to put in my mail and password.
then i need to request this site after https://www.callofduty.com/api/papi-client/stats/cod/v1/title/mw/platform/battle/gamer/Ancientswede%232802/profile/type/warzone
i have tried and googled it and cant find any answer at all.
But looks like im able to do a POST first or am i wrong?
Havent been tuching coding in 5 years and i never messed around with the sock thingy.
