-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FoodScout #15
Comments
Submitted / Description under review 🙏 |
Looks good! Feel free to get started. |
How are things so far? Any updates to share? |
Update: |
Wireframe ready https://wireframe.cc/BgxHIK |
Any updates to share? |
hi CJ, |
Hi CJ,
|
Hey @Mi-Br,
So, your code will look like this: fetch('https://spoonacular-recipe-food-nutrition-v1.p.rapidapi.com/food/products/428573/nutritionWidget', {
headers: {
'x-rapidapi-host': 'spoonacular-recipe-food-nutrition-v1.p.rapidapi.com',
'x-rapidapi-key': 'c554c09a2dmsh41d2bc225d3ee89p10fb89jsn47a7e7210970',
accept: 'text/html',
},
})
.then((response) => response.text()) // <-- here
.then((data) => {
console.log(data);
})
.catch((err) => {
console.log(err);
}); Hope this helps 😄 |
thanks a lot, it helped. |
I have finally deployed website to heroku using index.php trick |
Purchasing food products without any knowing what ingredients it contains, nutrition and potentially harmfull substances is a common consumer behaviour. As a result we have seen increased number of Diabetes, Cancer, Heart deceases
FoodScout is on a mission to bring transparency and risk, so that consumer can make informed buy decision
Nutritionix API
Full Description
The text was updated successfully, but these errors were encountered: