The URLRequestMethod
class contains constants for the various request types you can make. These constants are to be allocated to URLRequest
's method
property:
var request:URLRequest = new URLRequest('http://someservice.com');
request.method = URLRequestMethod.POST;
Note that only
GET
andPOST
are available outside the AIR runtime.