Consuming API
Unanswered
African Slender-snouted Crocodil… posted this in #help-forum
Original message was deleted.
13 Replies
where is your route.ts file located
if you access
/api/cookie, then your route.ts file should be in /api/cookie/route.tscan you try it in postman first
or rest/curl
hit localhost:3000/api/cookie
try using fetch() instead of axios
just to check
no worries
can you try writing localhost:3000 instead of from .env
can you try writing localhost:3000 instead of from .env
can you try without
localhost:3000so just directly
/api/cookiewhich one is that