OpenTokens™: %CALL()%
Return to Introduction  Previous page  Next page

%CALL()% tokens are those that can be used to collect data from an external URL. It uses the following token format:

%CALL(action|method|fields|files)%  
 
Parameters  
·action      required   literal   the URL to call out to  
·method   required   literal   the "method" of the call (either POST, GET, XML or RAW; default is GET)  
·fields      required   literal   a comma-delimited list of variable names (global or database)  
·files      required   literal   a comma-delimted list of "filenames" of files to upload via HTTP-UPLOAD. (This path is relative to your ~/mivadata/ subdirectory.)  
 
 
The resulting HTML is combined together and then processed for OpenTokens. It must begin with %OUI% to be OpenToken parsed.
 
Example: To call out to http://www.yahoo.com/, use %CALL(http://www.yahoo.com/|GET)%.
 
For more information, see <MvCALL> in the Miva Script Guide v4.x -- <MvCALL>
.

 


Send feedback on this documentation.
© 2004 - 2000 Darren Ehlers & OpenUI Developer Consortium