Skip to content

Handling Multiple Routes in Edge Functions #741

Closed Answered by jan-tennert
Premjit-Developer asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Premjit-Developer
Comment options

Answer selected by Premjit-Developer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants