D
Deno
T
Deno
β’
12mo 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,950
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
fetch("/api/login")
fetch("/api/login")
Similar Threads
CORS problem with my deno web server
T
TheOneThatPlaysTooMuch / help
11mo ago
Problem with www.
S
Sheik / help
2y ago
Problem with Mongoose + auth
J
Jess182 / help
4y ago