How to pass `stream.file` to another server as `multipart/form-data`?
See original GitHub issueHi there!
I’ve started to use apollo-upload-server
and faced with an issue.
What I want to achieve is to pass (proxy) stream.file
to another server as a file (multipart/form-data
). Any ideas how I can do that without saving files.stream
to the file and then streaming that file to another server?
I’ve posted similar question here
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How to upload file to server with HTTP POST multipart/form ...
Basic implementation using MultipartFormDataContent :- HttpClient httpClient = new HttpClient(); MultipartFormDataContent form = new ...
Read more >How to upload file to server with HTTP POST multipart/form-data
GetFileAsync(DBNAME); byte[] fileBytes = null; using (var stream = await file.OpenReadAsync()) { fileBytes = new byte[stream.
Read more >Upload Any File Using HTTP Post Multipart Form Data
You can achieve that through the following code. Here are the steps to be followed. Step 1. Create a new application in .NET,...
Read more >Node.js Sending Multipart/form-data from server side(backend)
Form data is a library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications....
Read more >How to upload multipart/form-data to ASP.NET Core Web API?
How the server stores the uploaded file? Create a Web API 2 project in Visual Studio 2017 or 2019, if you are new...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is my current workaround/hack
Yeah, I’m pretty sure that there is nothing wrong with
apollo-upload-server
. Just posted a question here as nobody responds to me there.Thank you for the answers and your time. You have made a great tool, thank you for that.