You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenFoodFacts' API URL for the barcodes differs with the URL for product names.
Because, here, with barcodes, you don't search with some keywords that could match with a product name.., but you need to search with a full barcode which refers to only one product (which isn't the case with product names).
So, apparently, the OpenFoodFacts URL for Barcodes will be like https://ssl-api.openfoodfacts.org/code/5400141054651.json and not like
So, should be: https://ssl-api.openfoodfacts.org/code/.json
The OpenFoodFacts' API URL for the barcodes differs with the URL for product names.
Because, here, with barcodes, you don't search with some keywords that could match with a product name.., but you need to search with a full barcode which refers to only one product (which isn't the case with product names).
So, apparently, the OpenFoodFacts URL for Barcodes will be like https://ssl-api.openfoodfacts.org/code/5400141054651.json and not like
So, should be: https://ssl-api.openfoodfacts.org/code/.json
You also even have this URL (which looks similar to the ones above...) https://world.openfoodfacts.org/api/v0/product/[barcode].json
Further documentation information:
The text was updated successfully, but these errors were encountered: