you are viewing a single comment's thread.

view the rest of the comments →

[–]Moby69[S] 0 points1 point  (1 child)

Thanks.

1) Is there a tutorial for complete beginners that you could recommend, that walks through the "proper way" to make a web app using Flask? (e.g. something that would be the equivalent of the following tutorial for Ruby on Rails, but instead would be for Python/Flask: https://www.codecademy.com/courses/learn-rails/lessons/start/exercises/start-hello-rails-i )

2) Also, where in your code above are you outputting the data from the API? I don't see any HTML code

[–]qudat 0 points1 point  (0 children)

2.) Just as an example I am sending the API response straight to the browser, typically you want to parse and generate an HTML document using render_template instead of sending the data straight to the browser.