---
title: "events.beforeSendRequest Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_events_beforeSendRequest.htm
product: "Upload Suite 8"
---

# events.beforeSendRequest Property ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets an array of [BeforeSendRequest](https://www.aurigma.com/docs/us8/JA_E_Uploader_BeforeSendRequest.htm.md) event handlers.

## Syntax
 
```
$au.uploader({
    events: {
        //...other params...
        beforeSendRequest: [],
        //...other params...
    }
})
```

```
$au.uploader('uploaderID').events().beforeSendRequest(value);
value = $au.uploader('uploaderID').events().beforeSendRequest();
```
 
### Property Value
 
Type: [$au.event](https://www.aurigma.com/docs/us8/JA_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/JA_E_Uploader_BeforeSendRequest.htm.md)
- [ClientEvents.BeforeSendRequest PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_ClientEvents_BeforeSendRequest.htm.md)
