1 2 3 4 5 | POST /file/upload HTTP/1.1
Host: <destinationHost>[:<destinationPort>]
Origin: http:
Content-Length: <contentLength>Content-Type: multipart/form-data; boundary=<dataBoundary>...
<dataBoundary>Content-Disposition: form-data; name= "Filedata" ; filedata= "<baseName>" Content-Type: <contentType> <fileData><dataBoundary>...
|
returnContentis provided
1 2 | ...
<dataBoundary>Content-Disposition: form-data; name= "returnContent" <returnContent>...
|
contextis provided
1 2 | ...
<dataBoundary>Content-Disposition: form-data; name= "context" <context>...
|
MAX_FILE_SIZE is specified
1 2 | ...
<dataBoundary>Content-Disposition: form-data; name= "MAX_FILE_SIZE" <maxFileSize>...
|
Types and values:
destinationHost = <string>
destinationPort = <number> OPTIONAL (do not provide the preceding colon if not specified)
formHost = <string>
formPort = <number> OPTIONAL (do not provide the preceding colon if not specified)
contentLength = <number>
dataBoundary = <string>
maxFileSize = <number> (maximum size allowed for an uploaded file; It is best to check this on the client first if possible)
fileData = <string>
baseName = <string>
returnContent = <string> "false" | "true" DEFAULT "false"
context = <string> "auditfile" | "tailoringfile"