How to create nutrition app with ocr scanner?

I don’t know why you have these blocks but they mess up your labels so you need to remove them:

An easy way to test code and then set it aside is to move the blocks outside of the “event” block like this:

1 Like

When I remove the static code and put in this url (https://world.openfoodfacts.org/api/v0/product/) this is what shows up in the json formatter:

1 Like

Nevermind I figured it out!

1 Like

Thank you so so much @tatiang , @muneer , and @codeswept for all your help!

4 Likes

No problem.

this site is down for a while (jsonformatter-online)

Please update the URL with https://jsonformatter.org or https://codebeautify.org/jsonviewer

I’m not sure which post of mine you’re referring to but I use Best JSON Viewer and JSON Beautifier Online now and click on the Tree Viewer after pasting the JSON response on the left side.

1 Like