Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Delete

Creates a UnityWebRequest configured for HTTP DELETE.
Read time 1 minuteLast updated 6 days ago

Definition

Delete(string)

Creates a UnityWebRequest configured for HTTP
DELETE
.
public static UnityWebRequest Delete(string uri)

Parameters

The URI to which a
DELETE
request should be sent.

Returns

Type

Description

UnityWebRequestA UnityWebRequest configured to send an HTTP
DELETE
request.

Remarks

This method creates a UnityWebRequest, sets the verb to
DELETE
and sets the target URL to the string argument
uri
. It sets no custom flags or headers.
This method attaches no DownloadHandler or UploadHandler to the UnityWebRequest.

Delete(Uri)

Creates a UnityWebRequest configured for HTTP
DELETE
.
public static UnityWebRequest Delete(Uri uri)

Parameters

uri

The URI to which a
DELETE
request should be sent.

Returns

Type

Description

UnityWebRequestA UnityWebRequest configured to send an HTTP
DELETE
request.

Remarks

This method creates a UnityWebRequest, sets the verb to
DELETE
and sets the target URL to the string argument
uri
. It sets no custom flags or headers.
This method attaches no DownloadHandler or UploadHandler to the UnityWebRequest.