5

I have a very basic question:

What is the difference between multipart/form-data and application-x-www-form-urlencoded?

How does data transfer take place in both of these?

And also, can we use both in same request.

Sufian
  • 6,405
  • 16
  • 66
  • 120
Tushar Saha
  • 1,978
  • 24
  • 29
  • Related post -[application/x-www-form-urlencoded or multipart/form-data?](https://stackoverflow.com/q/4007969/465053) – RBT Nov 27 '21 at 09:45

1 Answers1

4

Checkout this answer for your basic question about difference

application/x-www-form-urlencoded or multipart/form-data?

Can we use both for the same request:

Answer is : NO

Moral: Byte heavy transmission should use Multipart-Form-Data, for everything else there's application-x-www-form-urlencoded.

Community
  • 1
  • 1
Maneshwar Singh
  • 426
  • 7
  • 12