CHALLENGE: Migrate Remaining Pages Api Routes

Ben Patton
InstructorBen Patton
Share this video with your friends

Social Share Links

Send Tweet
Published a year ago
Updated a year ago

Your goal is to move the remaining api routes to the app router. If you would like a longer form video, here is a link to a youtube video with timestamps

Instructor: [0:00] Before continuing, I'd encourage you to pause the video and work on migrating the rest of our pages, API routes to the App router. A quick intercession here to explain Delete.

[0:12] Delete currently doesn't work and the way you would expect is you can't send a request body. We need to make this a dynamic route and send it as a POST request with the deposit ID.