Clash Royale API with Axios

Hello everyone, I tried using the ClashRoyaleAPI with node.js but it doesn’t work cause there’s and error 403 forbidden. I know that it means that I don’t have permission to access the data, but it should be because my token is correct. So am I missing something in my code?

You are viewing a single comment. View All
Answered by RemoryX [earned 5 cycles]
View Answer

@RemoryX Oh my god thank you so much! I was so frustrated over this problem for like a week straight. If there was an option for rewarding 50 cycles, I would honestly give you that! :)