Practice: Flask Fundamentals
Q21. Choosing JSON or HTML
A mobile app needs product data from your Flask site. Should the route return HTML or JSON, and why?
Goal: Pick the right response type.
A mobile app needs product data from your Flask site. Should the route return HTML or JSON, and why?
Goal: Pick the right response type.