fix typo
changed process code method to GET
 - it does not support POST -yet-
 - will be updated once it supported
incorrect variable used