Hi
I subscribed to the basic plan on wordsapi but I’m getting this reponse
402 “You need to subscribe to a plan before consuming the API”
to this code
$.ajax({
url:‘https://wordsapiv1.p.mashape.com/words/’+word4check.toLowerCase()+’/definitions’,
headers: {
“X-Mashape-Key”: “mykey”,
“X-Mashape-Host”: “wordsapiv1.p.mashape.com”
},
type: ‘GET’,
dataType: ‘json’,
data: “”,
success: function(data){
console.log("succes: "+StringifyPretty(data));
}
});
What else do I need to do?
Chris
Join in the discussion - add comment below:
hmm, I think I see the problem.
You require me to enter credit card details for the free plan.
That’s a pity. I will have to look for another solution.
Also your symantec security certificate will soon be distrusted by Google 😦
and I quote:-
<<The SSL certificate used to load resources from https://wordsapiv1.p.mashape.com will be distrusted in M70. Once distrusted, users will be prevented from loading these resources. See https://g.co/chrome/symantecpkicerts for more information.>>