MineSkin / api.mineskin.org

Source of the MineSkin API
https://api.mineskin.org
MIT License
50 stars 5 forks source link

HTTP response code: 403! #30

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello,

I'm having some issues with the api getting id's.

https://pastebin.com/dLaBEnN4 (Error)

Id's used: https://api.mineskin.org/get/id/331604 https://api.mineskin.org/get/id/325014 https://api.mineskin.org/get/id/328388 https://api.mineskin.org/get/id/328391 ... and like 6 more.

InventivetalentDev commented 5 years ago

Are you setting an User-Agent header when making requests?

ghost commented 5 years ago

I don't think so here are our methods: https://pastebin.com/8x1cpi7c

InventivetalentDev commented 5 years ago

You can use something like this to set a User-Agent to keep cloudflare from blocking you.

ghost commented 5 years ago

You added cloudflare recently becase like 1 week ago we never have this issue

InventivetalentDev commented 5 years ago

It's been there from the beginning, just changed some settings

ghost commented 5 years ago

Ok, i will try adding the user-agent property, i will reply again if works with that

ghost commented 5 years ago

Working again thx.