Hello, I have a premier free account, and when I try to do the following request:
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer <my token>"
}
I get the following response: "code: 10, message: "Unknown method: method 'foods.search.v3'"
I think the way I'm getting my token works, because foods.search.v2 works, this is the way I'm fetching it.
url: 'https://oauth.fatsecret.com/connect/token',
method : 'POST',
auth : {
user : <my client key>,
password : <my secret key>
},
headers: { 'content-type': 'application/x-www-form-urlencoded'},
form: {
'grant_type': 'client_credentials',
},
json: true
How can I make foods.search.v3 work? Is foods.search.v2 the same as the v3?