www icon indicating copy to clipboard operation
www copied to clipboard

next.js 13.0 & above `api` route

Open SanyamPunia opened this issue 1 year ago • 1 comments

Where is the project's api route? I can't seem to find it in the src directory. I need some help migrating my Spotify now-playing functionality from page/api to app/api.

It would be great if I could get some reference from yours on how to migrate and utilize the proper route handler methods(GET, POST, etc.)

SanyamPunia avatar Sep 01 '23 15:09 SanyamPunia

this project doesn't use an api route. i have a separate and private api that i've built but that isn't public and i don't really intend for it to be either because of some things with fetching current playing on apple music.

my now playing functionality isn't spotify, btw.

haaarshsingh avatar May 08 '24 02:05 haaarshsingh