SOLVED: Connecting wix code to python backend?

Hello! I’m relatively new to wix code (and coding in general).

Is there a way to connect the presentation layer from wix to the engine/backend that I’ve written in python? e.g. After a user upload a file to the database, I’d like to use my python code to parse and analyse the uploaded file, and return the analysis results and have it display at the presentatin layer on wix.

Many thanks for you help in advance!

Hi florencewchen.

If your python engine is accessible via the internet, you can use wix-fetch just to call the url with the appropriate parameters, and parse the result in a Promise and update the components you need according to the result.

Regards,
Genry.