Which statement best describes how Postman handles binary file uploads?
Think about how raw binary data is sent in HTTP requests.
Postman sends binary files as raw data in the request body without encoding or wrapping it in JSON or URL parameters.
Given a Postman POST request uploading a binary file to an API endpoint that returns the file size in bytes, what will be the response if the uploaded file is exactly 1024 bytes?
POST /upload HTTP/1.1 Host: example.com Content-Type: application/octet-stream <binary file of 1024 bytes>
Check the exact key and value type in the JSON response.
The API returns the file size with key 'fileSize' and integer value 1024 as JSON.
In Postman, where should you select the binary file to upload in a POST request?
Think about where the request body is configured in Postman.
The binary file is selected in the 'Body' tab by choosing the 'binary' option and browsing the file.
Which Postman test script assertion correctly verifies that the server responded with status 200 and the response body contains the string 'Upload successful'?
pm.test("Upload success", function () {
// Assertion here
});Look for correct Postman assertion syntax and methods.
Option B uses valid Postman test syntax with 'pm.response.to.have.status' and 'pm.expect' to check response text.
You uploaded a binary file using Postman, but the server responds with 400 Bad Request. Which of the following is the most likely cause?
Check the headers and content type for binary uploads.
Binary uploads require the 'Content-Type' header to be set to 'application/octet-stream'. Missing or wrong content type causes 400 errors.