ES2Web.UploadRaw

public IEnumerator UploadRaw(string data)

Parameters

data The raw string to upload. Must be on the Supported Types list.

Returns

IEnumerator The IEnumerator for the coroutine.

Description

Uploads our raw string to the URL specified when creating the ES2Web object without any header data. The string will be uploaded in UTF-8 encoding.

Note: When saving using UploadRaw, you can only access that data using ES2Web.LoadRaw() or by accessing the database directly.

C#

A coroutine to Upload a raw string to the server with a given tag

JS

A coroutine to Upload a raw string to the server with a given tag


public IEnumerator UploadRaw(byte[] data)

Parameters

data The raw bytes to upload. Must be on the Supported Types list.

Returns

IEnumerator The IEnumerator for the coroutine.

Description

Uploads our raw data to the URL specified when creating the ES2Web object without any header data.

Note: When saving using UploadRaw, you can only access that data using ES2Web.LoadRaw() or by accessing the database directly.

C#

A coroutine to Upload raw bytes to the server with a given tag

JS

A coroutine to Upload raw bytes to the server with a given tag