Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

I’m looking for guidance from SuiteScript / JavaScript experts regarding a multipart/form-data file upload from NetSuite. I have a Map/Reduce script that generates a ZIP file using N/compress.  This ...
user32280537's user avatar
0 votes
0 answers
57 views

Context: I am trying to build a Spring Boot application and have exposed a REST api endpoint to upload files(as large as 1 GB). Question: Since the data transfer for a multipart file happens in chunks ...
Aakash_Deep's user avatar
0 votes
0 answers
86 views

I’m using React Native with Expo SDK 54, and I have an API client built with Axios. All my normal JSON requests are encrypted before being sent to a .NET 6 backend. When I send a normal JSON body, my ...
ekod27's user avatar
  • 1
0 votes
0 answers
74 views

I have a problem with sending multipart/form-data requests from my Java service (using WebClient but same history with RestTemplate) to Flask service. It seems like a sent body is just empty as I get ...
Ania Fijałkowska's user avatar
0 votes
1 answer
157 views

I have a POST endpoint with fastapi that goes a little like this. This takes in an excel file and turns it into a pandas dataframe. @router.post( "/endpoint/upload_excel", status_code=status....
nijj67's user avatar
  • 11
0 votes
0 answers
55 views

I’m running a FastAPI service in Kubernetes that accepts multipart/form-data uploads and stores files in S3. The upload endpoint works fine when I call it directly inside the cluster using the service ...
swetha's user avatar
  • 3
1 vote
1 answer
167 views

What are the details of your problem? In my Flutter project, I'm using swagger_dart_code_generator to generate Chopper-based API client code from a Swagger 2.0 JSON file for a multipart/form-data file ...
vikas poute's user avatar
2 votes
1 answer
177 views

With the code below I am getting the "Safe handle has been closed." from CopyToFileAsync. This happens even if only a single file operation is taking place. Also, this only happens on large(...
McMurphy's user avatar
  • 1,492
4 votes
1 answer
154 views

I’m using ASP.NET Core Minimal API. I have an endpoint where I want to receive an IFormFile along with a Dictionary<string, string> property in the same request. I set the Accepts<...
Dmytro Kotenko's user avatar
1 vote
1 answer
110 views

Today, I researched Base64 encoding versus other methods and whether to use it in a JSON API, considering the 33-37% size overhead that Base64 introduces and all sorts of related topics. To ...
tfn's user avatar
  • 87
1 vote
1 answer
72 views

The updated API request which support background execution, for uploading images to server. UIApplication.withBackgroundTask(name: "UploadImage") { endTask in self.ShowHUD() ...
RP89's user avatar
  • 133
1 vote
1 answer
161 views

I'm working against an API specification outside my control. It expects to POST multipart/form-data to my server. Some parts are sent as files, some are sent as text. I want to write a test using ...
Joe's user avatar
  • 48k
-1 votes
2 answers
126 views

I am trying to upload an image to the server but the request will not end. In DevTools, the request shows as pending while, in the backend, php is continuously writing to an ever growing file until I ...
RisingSun's user avatar
  • 1,722
-1 votes
1 answer
128 views

I am following various examples in this question to try to upload 2 things together in a multipart form request in Swift--a file and some JSON about the file. I am able to upload the file but the ...
user6631314's user avatar
  • 2,050
0 votes
2 answers
142 views

I tried the following from Node.js: import axios from 'axios'; const axiosInstance = axios.create({}); (async () => { const sendData = new FormData(); sendData.append('firmware', 'hello');...
nullromo's user avatar
  • 2,797
0 votes
2 answers
100 views

I'm working on a Laravel 10.x project with an API that allows updating an event using a PUT /events/{id} endpoint. This endpoint accepts multipart/form-data to optionally upload an image and pdf, and ...
Kadir Buğra Akkuş's user avatar
1 vote
1 answer
435 views

I'm building an ASP.NET Core Web API endpoint that needs to receive an array of complex objects via multipart/form-data. Each object includes key-value string pairs and an optional file upload. Each ...
bcExpt1123's user avatar
1 vote
0 answers
51 views

I'm trying to get the number of pages in a PDF uploaded as a MultipartFile in my Spring Boot application. I'm using Apache PDFBox 3.0.0. Here's my method: public int getPageCount(MultipartFile file) ...
Shivam Gupta's user avatar
0 votes
0 answers
86 views

Here's a detailed description for your GitHub issue, incorporating the information we've discussed. This provides context, the problem statement, steps to reproduce, and your observations. package ...
Joy Karmakar987654321's user avatar
0 votes
0 answers
44 views

I have a web app where users are allowed to upload small images (10MB max). I enforce a client_max_body_size 10MB but I noticed, nginx will happily consume a 10GB file, filing up bandwidth and the ...
user2741831's user avatar
  • 2,502
1 vote
1 answer
98 views

I have started to take advantage of Axios header option multipart/form-data so I can go utilize Typescript objects for my requests to bind to my ASP.NET Core models, however List<IFormFile> ...
Qiuzman's user avatar
  • 1,873
0 votes
0 answers
26 views

On the angular side we are using the Froala editor for the messaging part(like upload files) and backend services are in .NET core. Since we have created API for uploading attachment into CDN server, ...
Ganapathy A's user avatar
0 votes
0 answers
46 views

I'm using Express.js with Firebase Admin SDK and deploying my backend as a Firebase Cloud Function. I'm trying to upload an image file from a frontend form (using FormData in jQuery) to the backend ...
Vital Solutions's user avatar
-1 votes
1 answer
62 views

this might be silly, but not my form nor my formdata are receiving my file input's image i want to the image to server folder using php but my php code never receives any image. this is my code: <...
Mamad_RC's user avatar
1 vote
0 answers
108 views

I get this error: Error: Malformed part header when making multipart/form-data request in Node.js - no code files visible in the error. I'm encountering a "Malformed part header" error ...
Aman Mukhiya's user avatar
0 votes
1 answer
129 views

I have an existing REST API (has been around for years now and I'm the original author) which has multiple end-points. I just added a new end-point for uploading files. The end-point method resource ...
Brien Halstead's user avatar
0 votes
1 answer
180 views

I'm working on a NestJS app and in it, one route has file uploading in it. I am uploading the file and its metadata using form-data. Right now, I am able to upload just one file at a time and the form-...
AnAverageDev's user avatar
2 votes
1 answer
402 views

Does anyone have any idea why I am getting this boundary error when submitting this multipart file? Error: {errCode: 4000, errMsg: "Failed to parse multipart servlet request", timestamp: ...
Tania's user avatar
  • 21
0 votes
1 answer
58 views

First Question I have a route tested in insomnia which is working The route is sent as\with multiform option also, I have to set\change the preferences in insomnia not to validate SSL However, I can ...
Benny's user avatar
  • 15
0 votes
1 answer
78 views

I'm using Quarkus to POST a file to an external Fortinet appliance. However, the service enforces strict HTTP protocol constraints and returns: 411 Length Required The Quarkus REST client interface: @...
BananKongen's user avatar
0 votes
1 answer
64 views

He guys, I'm having issues with testing play controller that handles multipart form data. It expects text field and some files. The controller uses temporary files def insert(): Action[...
g-t's user avatar
  • 1,533
0 votes
1 answer
84 views

I am having trouble registering and the problem occurs when uploading an image file using Multer in my Express.js application in the form. I am getting an error "MulterError: Unexpected field&...
eslam wael's user avatar
0 votes
0 answers
66 views

Below is the data I am trying to save via a REST API { "number": "123123", "priority": "2", "city": "", "notes": "", ...
Abheek Das's user avatar
0 votes
0 answers
73 views

So, I have a form data with the corresponding JSON format project_status: 'OPEN', project_title: '', project_code: '', start_date: '', end_date: '', duration: '', ...
Vishnu Ezhuthachan's user avatar
0 votes
1 answer
165 views

I'm trying to use this API route of the Cloudflare API to upload a worker with metadata. I'm using Node.js 18 and Axios 0.29, with the following code: const api = axios.create({ baseURL: '...
Boris K's user avatar
  • 1,564
1 vote
1 answer
3k views

How do I send a POST with python HTTPX that will minic a CURL POST that works? This is to an opengear rest API. I believe it has to do something with the data field of the post. This is the working ...
krizzo's user avatar
  • 1,903
2 votes
1 answer
1k views

I don't really have a ton of experience working with OpenAPI, so hopefully this is an easy one. I have to work with an API that wants a CSV file alongside some identifier as a multipart/form-data ...
Gereon99's user avatar
  • 808
0 votes
1 answer
37 views

In my flutter application I've created a http server using dart io. I'm uploading file from web frontend using formdata using fetch api call. On the server side(flutter) how to get uploaded file?
Sivamani V's user avatar
0 votes
1 answer
173 views

I am trying to send multiple file uploads to a function app (http trigger). The http trigger code is below, app = func.FunctionApp(http_auth_level=func.AuthLevel.ADMIN) @app.route(route="...
MenorcanOrange's user avatar
0 votes
1 answer
65 views

I have an Java application running Spring and on it I have an endpoint to receive multiple files but, every time I hit it I get "415 Status". This is my endpoint: @PostMapping(value = "/...
Alfredo Marin's user avatar
1 vote
1 answer
71 views

I am uploading an image that is included in the $_FILES object. However, when I attempt to get its size, I get the error that it is not a string or alternatively not a resource. How can I get the ...
user6631314's user avatar
  • 2,050
-6 votes
1 answer
167 views

The use case is a user/client sends a request to a server running PHP. I am trying to write the PHP code on the server e.g. an API endpoint to process the request. I have existing production PHP code ...
user6631314's user avatar
  • 2,050
0 votes
0 answers
358 views

Tried to upload a file via Rest request using MultiPartFile. Getting the request in the controller in App A, which calls service, which then calls FeignClient to invoke different REST endpoint in App ...
gcpdev's user avatar
  • 147
1 vote
0 answers
192 views

I am trying to replace a Unity app with a React Native app, that communicates with a remote with an ESP32 board inside it. The app needs to send a binary file to a Web Server created by the ESP32 and ...
exMechCoder's user avatar
0 votes
1 answer
52 views

I'm trying to post three strings to a API/form. The webservice is called Nginx Proxy Manager if you are familiar. It don't really have API docs but it uses openapi 3.1.0. I'm trying to post to this ...
MeCJay12's user avatar
1 vote
1 answer
359 views

I use openapi to generate code for my controller on my kotlin spring project. so i use the kotlin-spring module of openapi-generator. I need to upload many files in one endpoint call. Here is my spec ...
antho.dev's user avatar
0 votes
1 answer
221 views

I'm working on a YouTube playlist audio downloader and have run into a snag (see below). I have no problem downloading the audio for one video; I simply pipe the stream to the response: ytdl(info....
Rob Gravelle's user avatar
0 votes
1 answer
133 views

I have a Spring Controller for a service that uploads a variable number of files and I would like to send them all encapsulated in a HashMap<FilesUploadEnum, MultipartFile> object instead of one ...
John Garez's user avatar
1 vote
1 answer
52 views

My Blade File - <input type="file" class="form-control" name="attribute_type_value[]"> <input type="text" class="form-control" name="...
Raiyan Islam's user avatar
0 votes
1 answer
68 views

Give me code for ParseMultipartFormData function. [LambdaFunction()] [HttpApi(LambdaHttpMethod.Post, "/create")] public async Task<IActionResult> AddEntity([FromBody] ...
Karthick J's user avatar

1
2 3 4 5
95