You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Awesome. I was just about to raise this issue. I haven't investigated path params working or not, but if you are in there getting http methods working, you might want to look at that too. for instance, I have an /invitations POST, but then want to also have a /invitations/:id PUT request. Not sure if it handle that, because I only see the body and headers as able to be set.
Feature request
Is your feature request related to a problem? Please describe.
I believe Edge Functions should not be limited to POST methods.
There is an official example of a CRUD edge function.
I have a few functions that rely on GET / PUT methods.
Describe the solution you'd like
Add a parameter to struct
FunctionInvokeOptions
that would allow to choose the HTTP method from either an enum or a string.Additional context
The only workaround I found as of today is to split an edge function that handles GET/PUT/POST/DELETE into 4 functions that ignore the HTTP method.
The text was updated successfully, but these errors were encountered: