Fetch Requests and Controller Actions: Connecting the Frontend to the Backend
Let’s make fetch happen. Why do we need it? What can we do with it? How is it related to controller actions? — Table of Contents Introduction Refresher on Fetch Requests Structuring the Request with Fetch 3a. Bonus! Getting the user’s input from a form Handling the Request & Structuring the Response with Controller Action Handling the Response with .then Conclusion & Summary Want more? Other resources to check out!