The URLRequestMethod class provides values that specify whether the URLRequest object should use the POST method or the GET method when sending data to a server.

Variables

@:enum@:implinlineread onlyDELETE:URLRequestMethod

Specifies that the URLRequest object is a DELETE.

@:enum@:implinlineread onlyGET:URLRequestMethod

Specifies that the URLRequest object is a GET.

@:enum@:implinlineread onlyHEAD:URLRequestMethod

Specifies that the URLRequest object is a HEAD.

@:enum@:implinlineread onlyOPTIONS:URLRequestMethod

Specifies that the URLRequest object is OPTIONS.

@:enum@:implinlineread onlyPOST:URLRequestMethod

Specifies that the URLRequest object is a POST.

Note: For content running in Adobe AIR, when using the navigateToURL() function, the runtime treats a URLRequest that uses the POST method(one that has its method property set to URLRequestMethod.POST) as using the GET method.

@:enum@:implinlineread onlyPUT:URLRequestMethod

Specifies that the URLRequest object is a PUT.