Created
September 17, 2012 04:03
-
-
Save cnandreu/3735475 to your computer and use it in GitHub Desktop.
Adapter parameters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* WL.Server.invokeHttp(parameters) accepts the following json object as an argument: | |
* | |
* { | |
* // Mandatory | |
* method : 'get' or 'post', | |
* path: value, | |
* | |
* // Optional | |
* returnedContentType: any known mime-type or one of "json", "css", "csv", "javascript", "plain", "xml", "html" | |
* returnedContentEncoding : 'encoding', | |
* parameters: {name1: value1, ... }, | |
* headers: {name1: value1, ... }, | |
* cookies: {name1: value1, ... }, | |
* body: { | |
* contentType: 'text/xml; charset=utf-8' or similar value, | |
* content: stringValue | |
* }, | |
* transformation: { | |
* type: 'default', or 'xslFile', | |
* xslFile: fileName | |
* } | |
* } | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment