D
Deno
Problem with my api route - Deno
T
Deno
β’
14mo ago
β’
3 replies
TheOneThatPlaysTooMuch
Problem with my api route
I created a dummy login api route under
'routes
/api
/login
.ts
' and when I call fetch on the url like so
:
fetch("/api/login")
fetch("/api/login")
it fails because that
's an
'invalid route
'
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
CORS problem with my deno web server
T
TheOneThatPlaysTooMuch / help
13mo ago
Problem with www.
S
Sheik / help
2y ago
Problem with Mongoose + auth
J
Jess182 / help
4y ago