import { addItemData } from "@esri/arcgis-rest-portal";//addItemData({ id: '3ef', data: file, authentication}) .then(response) Copy
import { addItemData } from "@esri/arcgis-rest-portal";//addItemData({ id: '3ef', data: file, authentication}) .then(response)
Send a file or blob to an item to be stored as the /data resource. See the REST Documentation for more information.
/data
Options for the request
A Promise that will resolve with an object reporting success/failure and echoing the item id.
Send a file or blob to an item to be stored as the
/data
resource. See the REST Documentation for more information.