webRequest.UploadData

Contains data uploaded in a URL request.

Type

Values of this type are objects. They contain the following properties:

bytes Optional

any. An ArrayBuffer with a copy of the data.

file Optional

string. A string with the file's path and name.

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
UploadData

Note: This API is based on Chromium's chrome.webRequest API. This documentation is derived from web_request.json in the Chromium code.