Should a “multipart/form-data” POST request actually contain a string with the data of an uploaded image?
问题 I'm creating some performance tests for a web application that sends requests of the same type that a browser would send to our server. One of these requests is a POST that uploads an image. I looked at this question where it looks like the actual contents of the image file should be inside the body of the request. However when I use F12 dev tools in Chrome to inspect what the browser sends in the request it looks like this: ------WebKitFormBoundaryjHN86sGb89n2HUZOT Content-Disposition: form