Created
February 19, 2015 00:39
-
-
Save scripting/a3a8232d193ea88e04ba to your computer and use it in GitHub Desktop.
Example script for PagePark pages that need to do something asynchronous, like reading a file over the web.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
httpReadUrl ("http://scripting.com/misc/uppertext.txt", function (s) { | |
httpReturn (s.toUpperCase (), "text/plain"); | |
}); | |
undefined; //return undefined so PagePark knows not to return a value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script is used to illustrate a new feature in PagePark.
https://github.com/scripting/pagepark#v054-21815-by-dw
It works, you can try it out here..
http://pagepark.io/test.js