How to implement a cookie-based authentification

Thanks, but it turns out that I can’t even make http requests Can’t make http request