---
title: "events.beforeSendRequest Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_events_beforeSendRequest.htm
product: "Upload Suite 8"
---

# events.beforeSendRequest Property HTML5/Flash Uploader JavaScript

Supported technologies:
 
Gets or sets an array of [BeforeSendRequest](https://www.aurigma.com/docs/us8/FH_E_ImageUploaderFlash_BeforeSendRequest.htm.md) event handlers.

## Syntax
 
```
$au.imageUploaderFlash({
    events: {
        //...other params...
        beforeSendRequest: [],
        //...other params...
    }
})
```

```
$au.imageUploaderFlash('uploaderID').events().beforeSendRequest(value);
value = $au.imageUploaderFlash('uploaderID').events().beforeSendRequest();
```
 
### Property Value
 
Type: [$au.event](https://www.aurigma.com/docs/us8/FH_T_J_$au_event.htm.md)
 
The string containing the name of **BeforeSendRequest** event handler or an array of handler names.

## Remarks
 
This event fires when the current POST request is about to be uploaded.

## See Also
 
### Reference
 
- [BeforeSendRequest Client-Side Event](https://www.aurigma.com/docs/us8/FH_E_ImageUploaderFlash_BeforeSendRequest.htm.md)
- [ClientEvents.BeforeSendRequest PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_ClientEvents_BeforeSendRequest.htm.md)
