Course / Level 7: Building With Real Tools / Lesson 12
Serving JSON.
Lesson 12 · Building With Real Tools · Zero to AI Hero by Meegrow Labs
Your server can respond with JSON by setting the Content-Type header to application/json and writing a JSON string as the response body, which is how most APIs work.