Database: JSONP Directory
** About **
JSONP API service directory.
** Attributes **
- url
JSONP endpoint url. The part that embrased by "{}" is used as template and replaced by parameter value.
e.g. http://www.example.com/{username}/items.json
- queryParams
List of parameter names (separated by blank space).
These parameters are passed as url query string (DON'T include JSONP callback parameter).
- jsonpParam
Parameter name that specifies callback function name.
If not specified, it assumes "callback" as default value.
** Metadata Attributes **
Other attrs can be included in order to add metadata informatin to parameters.
For example, you can specify label information for displaying parameter prompt to users.
*** attribute format ***
param_name:metadata_attr
*** metadata attrs ***
- label
- required
- datatype
- options
** Sample Client **
http://svn.coderepos.org/share/lang/javascript/jsonptester/trunk/jsonptester.html
Last Update: 2010-05-01T13:51:21+09:00 History