Documentation comment changes
Added warning if method type is not one of the 
allowed
Sets the file URL property when submitting
instead of when sending
Setting the URL to the data object
just before sending.