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

@:value(cast "DELETE")@:enum@:impl@:require(flash10_1)inlineread onlyDELETE:URLRequestMethod = "DELETE"

Specifies that the URLRequest object is a DELETE.

@:value(cast "GET")@:enum@:implinlineread onlyGET:URLRequestMethod = "GET"

Specifies that the URLRequest object is a GET.

@:value(cast "HEAD")@:enum@:impl@:require(flash10_1)inlineread onlyHEAD:URLRequestMethod = "HEAD"

Specifies that the URLRequest object is a HEAD.

@:value(cast "OPTIONS")@:enum@:impl@:require(flash10_1)inlineread onlyOPTIONS:URLRequestMethod = "OPTIONS"

Specifies that the URLRequest object is OPTIONS.

@:value(cast "POST")@:enum@:implinlineread onlyPOST:URLRequestMethod = "POST"

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.

@:value(cast "PUT")@:enum@:impl@:require(flash10_1)inlineread onlyPUT:URLRequestMethod = "PUT"

Specifies that the URLRequest object is a PUT.