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.
static const DELETE:String = "DELETE"
Specifies that the URLRequest object is a DELETE.
static const GET:String = "GET"
Specifies that the URLRequest object is a GET.
static const HEAD:String = "HEAD"
Specifies that the URLRequest object is a HEAD.
static const OPTIONS:String = "OPTIONS"
Specifies that the URLRequest object is a OPTIONS.
static const POST:String = "POST"
Specifies that the URLRequest object is a POST.
Note:
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.
static const PUT:String = "PUT"
Specifies that the URLRequest object is a PUT.
© 2009 Adobe Systems Incorporated. All rights reserved.
Fri Feb 20 2009, 11:31 AM -08:00