Category "multipartform-data"

Add Integer Data Type in Multipart Form Content C# MVC

using (var multipartFormContent = new MultipartFormDataContent()) { HttpClient httpClient = new HttpClient(); multipartFormContent.Add(

Axios in React Native doesn't provide Form-Data headers

I'm trying to upload a file via Axios (Version ^0.26.0) in React Native (Version 0.66.4) with the following code: const formData = new FormData(); formData.appe

Pass Data to Service in Axios

I want to set _boundry in my header. First, I dispatch the form data: //component.js const form = new FormData(); form.append('email', '[email protected]')

React Native android FormData response goes to catch block after .json()

I'm trying to POST data with FormData to get a response, on iOS it works as expected, but on android, it always goes to the catch block, I found out the reason

Getting ERROR: uncaughtException: source.on is not a function, when using request and multiparty for multipart/form-data

I am trying to send data from my node application to a 3rd party HTTP endpoint. I am parsing the data on the request object coming from the client using the

API Platform / React - uploading file not working

I'm trying to send an image to my API with React using a formData and Axios but my request in my custom controller shows null. When I use PostMan my api accepts

How to parse a multipart form-data that contains both files and normal fields in webargs?

I need to parse a multipart form-data with attached file using webargs. At this moment I have the next model: RAW_ARGS = { 'file': fields.Field(

request formData to API, gets “Network Error” in axios while uploading image

I am making a POST request to server to upload an image and sending formdata using axios in react-native. i am getting "Network Error". i also try fetch but n

Azure Logic Apps - multipart/form-data failing

I'm trying to set up a Logic App that will post data to an AWS Bucket (Link) accepting content formatted as multipart/form-data. However, I'm not able to get a

Cannot get Spring Boot to lazily resolve a multipart file

I have created a Spring Boot 2 demo application with the Spring Initializr and added the controller below: @Controller @RequestMapping("/demo") public class Upl

Why hidden input field values can't be empty

I'm using PHP form to send user registration data and then handle it with PHP form. I need to register a few user types such as "normal users," "admin users," "

retrieving FormData as its original form

Today, while working on a project which uses below flow for creating new post in website [Client] ---> FormData --> [FrontEnd Server] ---> FormData --&

React-Native multipart photo upload not working in android

I'm trying to send/upload image file to my back-end serve using fetch multipart upload in react-native, but fetch multipart form data upload is not working for

How to set @PartFilename of Entity field in @POST RESTEasy client method in runtime?

I am trying to write Resteasy Client Class to make simple POST multipart/form-data request to upload file. So POST request must contain Content-Disposition: for

formData.append() is not sending file to the server?

I am writing some React.js that will upload multiple photos at a time. I am currently trying to send a batch of photos to the server but I cannot seem to get th

What is the character encoding Postman use to write multipart file data into request

I am writing a Java application to send multipart request with attached files to an API that help me send an email with the attachments to the specified email.

Getting error "Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: bad request (400)" in iOS 7

I am using AFNetworking version "2.5.4" and creating multipartform-data request. In my case code is working fine on iOS8 but issue on iOS 7. Getting Error

upload image from react native app to symfony backend via axios

I want to upload an image from react native app to backend in symfony via axios. here is the code of the front end : const [pickedImage, setPickedImage] = u

How do I create a Jersey FormDataContentDisposition object?

I have the following method in a service: public interface MyService { @POST @Path("/upload-file") @Consumes(MediaType.MULTIPART_FORM_DATA)

POST byte array in multipart using Spring RestTemplate

I'm trying to POST a multipart/form-data using Spring RestTemplate with a byte array as the file to upload and it keeps failing (Server rejects with different k