Path: blob/main/files/en-us/mozilla/add-ons/webextensions/api/webrequest/uploaddata/index.md
6552 views
------{{AddonSidebar()}}
Contains data uploaded in a URL request.
Type
Values of this type are objects. They contain the following properties:
bytes{{optional_inline}}:
any. An ArrayBuffer with a copy of the data.
file{{optional_inline}}:
string. A string with the file's path and name.
Browser compatibility
{{Compat}}
{{WebExtExamples}}
Note: This API is based on Chromium's
chrome.webRequestAPI. This documentation is derived fromweb_request.jsonin the Chromium code.