REST.get: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name=REST.get |trusted=true |version=1.5 |description= Get... |usage= <source lang="mtmacro" line> REST.get(uri, payload, mediaType, getFullResponse) REST.ge...") |
No edit summary |
||
Line 8: | Line 8: | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
REST.get( | REST.get(url, getFullResponse) | ||
</source> | </source> | ||
'''Parameters''' | '''Parameters''' | ||
{{param| | {{param|url|}} | ||
{{param|getFullResponse|Boolean (0:1) to get full response.}} | {{param|getFullResponse|Boolean (0:1) to get full response.}} | ||
'''Returns''' | '''Returns''' |
Revision as of 03:37, 16 March 2019
REST.get() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.5
Get...
Usage
REST.get(url, getFullResponse)
Parameters
url
-getFullResponse
- Boolean (0:1) to get full response.
Returns Response as a JSON object.
Example
TEXT HERE
Returns:
TEXT HERE
See Also
Version Changes
- 1.5 - Added to main MapTool build.