Skip to content

HTTP PUT - Endpoint Not Found #38

Closed Answered by TizianoT
drveresh asked this question in Bug Report
Discussion options

You must be logged in to vote

@drveresh
Executing
When executing an edge function, you should use either the GET or POST methods, depending on whether you need to include a request body.

The specific actions performed by the edge function are independent of the HTTP method used. The typical REST method conventions do not apply to edge functions in this context. You can think of an edge function as a piece of code that runs close to your database and can perform any operation you define. You trigger this code using a GET or POST request.

Within your edge function, you can access:

  • Query parameters via request.params
  • The request body via request.data

Authorization
When creating an edge function, you have the option to …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Gioee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants