Need help posting data to webpage

You may be able do it in a more automated way than you have described, that is without the copying and pasting.
If it is possible to interface it to an arduino e.g. an ESP8266, you may well be able to get it to read the code from the token and post that to a webserver.
If you want to combine the token code with other information and retrieve that, for example a user name, then you have to have some database / program code on the web server. One option is PHP and MySQL.