Update ACommand.php

Use GET method & fix some errors