Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
34 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
57 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
63 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
0 answers
58 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
42 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
0 votes
1 answer
73 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
166 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,483
4 votes
1 answer
131 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
88 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
  • 77
1 vote
1 answer
60 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
76 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
117 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,731
-1 votes
2 answers
103 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
99 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,737
0 votes
2 answers
70 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
214 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
35 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
55 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
34 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,482
1 vote
1 answer
81 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,843
0 votes
0 answers
16 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
30 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
0 votes
1 answer
57 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
68 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
110 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
98 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
362 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
56 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
63 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
56 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
73 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
59 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
30 views

Flux<DataBuffer> dataBufferFlux = DataBufferUtils.read(path, new DefaultDataBufferFactory(), 4096); Message message = new Message(); message.setText(body); message.setSubject(subject); ...
Herisson-88's user avatar
0 votes
0 answers
104 views

I'm trying to use the Imgur API to create an album and have images attached in one request using my authenticated account. I first upload several images (which returns their image IDs), then I call my ...
n0degg's user avatar
  • 35
0 votes
0 answers
70 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
138 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
2k 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
0 votes
0 answers
36 views

I can't get image files be properly uploaded to Supabase, because I do not know how to parse request object so that I would have the right value. this is what docs say: For React Native, using either ...
Betto Raite's user avatar
2 votes
1 answer
940 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
0 answers
33 views

Context My app separates Services from Controllers so I could easily substitutes mocked services for my unit tests. pub trait HTTPService { // set HTTP client, send request, handle errors, // ...
zar3bski's user avatar
  • 3,213
0 votes
1 answer
28 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
136 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
58 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
53 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
164 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
319 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
176 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
40 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
0 votes
0 answers
27 views

I am submitting a multi part REST API request to a Tomcat server running on a container in AWS. The request has only one part in it, which is an unencrypted excel file. I am having a servlet Filter ...
Erdnase's user avatar
  • 788
0 votes
0 answers
72 views

I am sending multipart file data as byte array using ByteArrayResource with custom header for every form field. The source class used to wrap file data public class ...
Amby's user avatar
  • 462

1
2 3 4 5
96