URL parameters are ways of passing information to a website through the URL. For example, the URL http://www.server/app?message=Hello would send the message ‘Hello’.

psychTestR can both get and set URL parameters. This can be useful when chaining multiple parts of a web-based experiment.

For a demo of this functionality in action, open R and execute the following:

To see how to use this functionality in your own experiments, simply inspect the source code.