You can pass the text via ?ssid=foo&password=bar&type=WPA request parameter.
?ssid=foo&password=bar&type=WPA