Closed LManasa2395 closed 3 years ago
Looks like a local issue. Just checked, it's working fine for me. Can you please try it with some other project?
Not a local issue, the https://icanhazdadjoke.com/ site isn't playing nice with Axios (updated to 0.21.1 to mitigate risk). At least not with the configuration that you have set in index.js I tried it with curl and it returns a joke, so the API is working.
Yes, you are right. getRandomDadJoke (function(joke)
has some problems.
Happy to help if you don't have the time, just let me know
Thanks, @nax3t @LManasa2395 All Issues are resolved in v0.5.1. Please retry.
When we try to execute getDadJoke function
jokes.getRandomDadJoke((joke) => console.log(joke));
we are receiving the below error: