Handling Multiple Routes in Edge Functions #741
-
I'm trying to implement multiple routes within a single function, but I'm not sure how to call them since there is only one endpoint like
|
Beta Was this translation helpful? Give feedback.
Answered by
jan-tennert
Sep 26, 2024
Replies: 1 comment 1 reply
-
The whole Ktor request builder is exposed, so you can just add a sub path: supabase.functions.invoke("checkout") {
url.pathSegments += "get-order-details"
} This should work. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Premjit-Developer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The whole Ktor request builder is exposed, so you can just add a sub path:
This should work.