Skip to content

Instantly share code, notes, and snippets.

@scripting

scripting/test.js

Created Feb 19, 2015
Embed
What would you like to do?
Example script for PagePark pages that need to do something asynchronous, like reading a file over the web.
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
@scripting

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Feb 19, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.