DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


Method Summary
Boolean
#addHeader(headerName, value)
Add a header to the request.
Response
#executeRequest([username], [password])
Execute the request method.
String[]
#getAllowedMethods()
Returns the supported HTTP Request operations as a String Array

Method Details
addHeader
Boolean
addHeader
(headerName, value)
Add a header to the request.
Parameters
headerName
value
Returns
Boolean
Sample
method.addHeader('Content-type','text/xml; charset=ISO-8859-1')

executeRequest
Response
executeRequest
([username], [password])
Execute the request method.
Parameters
[username]
[password]
Returns
Response
Sample
var response = method.executeRequest()

getAllowedMethods
String[]
getAllowedMethods
()
Returns the supported HTTP Request operations as a String Array
Returns
String[]
Sample
var supportedOperations = request.getAllowedMethods()application.output(supportedOperations.join(',');