If you go to minecraft.net and on google chrome, right click and hit "Inspect element" it will come up with a site warning.
Failed to load resource: the server responded with a status of 401 (Unauthorized)
https://api.mojang.com/user
Attachments
Comments 6
Kumasasa, you realize it's not resolved. It's not about the API, on the Minecraft.net site, it has that on a warning.
See http://wiki.vg/Mojang_API for a correct usage of the API.