Thread:Project:Support desk/Check if I'm logged in/reply (14)

I discovered you need to use https: instead of http:

https://en.wikipedia.org/w/api.php?assert=user

That's because logged-in cookies are sent over https and they are not present in http request.