http://www.openbd.org/manual/?/tag/CFFUNCTION
ReturnFormat: When called as part of a WebService RPC, determines the return format of the data. Values: PLAIN, WDDX, JSON, JSONP *it seems using value of PLAIN returns same error as any invalid format. If I declared returnFormat=plain in the function, not adding the url agrument to change it to wddx/json throws error Using the following CFC (in which no returnFormat is declared), results are as follows http://details.at/config/cfc/functions.cfc?method=checkEmailValid&[email protected] - returns WDDX http://details.at/config/cfc/functions.cfc?method=checkEmailValid&[email protected]&__BDreturnformat=wddx - returns WDDX http://details.at/config/cfc/functions.cfc?method=checkEmailValid&[email protected]&__BDreturnformat=json - returns JSON http://details.at/config/cfc/functions.cfc?method=checkEmailValid&[email protected]&__BDreturnformat=jsonp - throws specific error, 'the request must contain a CALLBACK parameter if using JSONP' http://details.at/config/cfc/functions.cfc?method=checkEmailValid&[email protected]&__BDreturnformat=plain - returns 'Data not supported' error http://details.at/config/cfc/functions.cfc?method=checkEmailValid&[email protected]&__BDreturnformat=test - returns 'Data not supported' error http://details.at/config/cfc/functions.cfc?method=checkEmailValid&[email protected]&__BDreturnformat=ASDFG - returns 'Data not supported' error -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en
