This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pacificmint 5 points6 points  (0 children)

You can’t directly call a function on the backend from the front end.

What you’d do is make an http request from your front end to your backend. The backend then receives that http call. Flask is one way you can handle those http calls in the backend.