Difference between revisions of "Component: HTTP Fetch ( Comms)"

From Flowcode Help
Jump to navigationJump to search
(Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 0.1 |- | width="20%" style="color:gray;...")
 
Line 27: Line 27:
 
==Examples==
 
==Examples==
  
''<span style="color:red;">No additional examples</span>''
+
===Weather Example===
 +
 
 +
Example program showcasing a number of components used together to collect data from a URL using fetch, before processing the data using the object helper and array helper components.
 +
 
 +
{{Fcfile|Web_Weather.fcsx|Web Weather Example}}
  
 
==Macro reference==
 
==Macro reference==

Revision as of 10:55, 28 November 2023

Author MatrixTSL
Version 0.1
Category Comms


HTTP Fetch component

Component designed to request resources from an external HTTP server.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_WEBEXP_Fetch.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Fetch.fcsx

Detailed description

No detailed description exists yet for this component

Examples

Weather Example

Example program showcasing a number of components used together to collect data from a URL using fetch, before processing the data using the object helper and array helper components.

FC6 Icon.png Web Weather Example

Macro reference

Fetch

Fc9-comp-macro.png Fetch
Start the process of fetching a resource from a web server 
Fc9-string-icon.png - STRING sParams
Parameters for the Fetch call 
Fc9-void-icon.png - VOID Return


SetMacro

Fc9-comp-macro.png SetMacro
 
Fc9-string-icon.png - STRING sMacro
 
Fc9-void-icon.png - VOID Return


SetURL

Fc9-comp-macro.png SetURL
Sets the URL for the Fetch call 
Fc9-string-icon.png - STRING sURL
 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-10-icon.png URL
 
Fc9-type-24-icon.png Call macro