HTTP: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Undo revision 315440 by WdeCvfYlmB (talk)) |
Thundergnat (talk | contribs) (Undo revision 315439 by WdeCvfYlmB (talk)) |
||
Line 876: | Line 876: | ||
=={{header|Frink}}== |
=={{header|Frink}}== |
||
Frink's <CODE>read[<I>URL</I>]</CODE> function works with any URL type supported by your Java Virtual Machine, and returns the results as a single string. |
Frink's <CODE>read[<I>URL</I>]</CODE> function works with any URL type supported by your Java Virtual Machine, and returns the results as a single string. |
||
<lang frink> |
|||
print[read["http://frinklang.org/"]] |
|||
</lang> |
|||
=={{header|Gastona}}== |
=={{header|Gastona}}== |
||
Line 885: | Line 887: | ||
=={{header|GML}}== |
=={{header|GML}}== |
||
{{works with|Game Maker Studio}} |
{{works with|Game Maker Studio}} |
||
'''Any Event''' |
'''Any Event''' |
||
<lang gml>get = http_get("http://www. |
<lang gml>get = http_get("http://www.w3.org/Home.html");</lang> |
||
'''HTTP Event''' |
'''HTTP Event''' |
||
<lang gml>if (ds_map_find_value(async_load,"id") == get) |
<lang gml>if (ds_map_find_value(async_load,"id") == get) { |
||
{ |
|||
show_message_async(ds_map_find_value(async_load,"result")); |
show_message_async(ds_map_find_value(async_load,"result")); |
||
}</lang> |
|||
=={{header|Go}}== |
=={{header|Go}}== |