Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/mozilla/add-ons/webextensions/api/webrequest/uploaddata/index.md
6552 views
---
title: webRequest.UploadData slug: Mozilla/Add-ons/WebExtensions/API/webRequest/UploadData page-type: webextension-api-type tags: - API - Add-ons - Extensions - Non-standard - Reference - Type - UploadData - WebExtensions - webRequest browser-compat: webextensions.api.webRequest.UploadData
---

{{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.webRequest API. This documentation is derived from web_request.json in the Chromium code.