-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make multi-part/form-data request in edge_http_client package? #22
Comments
@Ansh-Rathod ill have to investigate, however it should theoretically work, have you tried? Cc @lesnitsky |
yeah, i tried this, the major issue i think is it didn't added proper headers to request. every time headers was empty and response became 400 bad request. |
Could you share the code? Will add a test case |
@Ansh-Rathod how did you get this working? I can't find MultipartRequest anywhere in the edge library, and using the traditional http lib triggers
and when trying with the provided fetch --
I see
nor does edge.fetch appear to support a StreamedResponse, which is what should be used in conjunction with MultipartRequest. |
well, if you use runtimeclient with HTTP library. |
The problem is not with http, but the missing html/io libraries. Are you sure you got this working? Could you please share code? If it was not working for you please say so Invertase can prioritize this to be fixed. I tried with
as well. Any thoughts @Ehesp? |
Hey guys, loving this package in the edge function. but any plans to add muliPartRequest to the package?
The text was updated successfully, but these errors were encountered: