In which format is image data usually sent to the server when uploading files in a web application?
- JSON
- XML
- Base64
- CSV
Image data is usually sent to the server in Base64 format when uploading files in a web application. This format allows binary data (like images) to be represented as a string, making it easier to transmit as part of an HTTP request. The other options (JSON, XML, and CSV) are not typically used for sending binary data like images.
Loading...
Related Quiz
- Which of the following responses to a preflight request will allow a browser to make a cross-origin call to upload a file?
- In what way does the Event Loop affect the performance of a Node.js application?
- What happens when an error is thrown inside an async function and it is not caught within the function?
- You are integrating ESLint into a legacy project. How would you approach linting the existing codebase without disrupting the development workflow?
- Which of the following is true about the global object in a Node.js module?