Skip to content

Tag: node.js

How can I fetch Clash Of Clans API?

I’m trying to do a discord bot with the clash of clans api. But I get a weird error message. Thanks Error Message: Answer The API URL is api.clashofclans.com and you are also lacking an API KEY in your authorization header unless you removed it for security purposes Clash of Clans API uses JSON Web Toke…

How to create a file inside a folder?

I have and when try to create res2.fcs file with following above path it shows gives me error, why it is not creating the folder structure? code: error: Answer you’re passing file path to .mkdir instead of folder, so you should first create a folder, and then write the file (as you’re creating a f…