typo
use post, not put for executing commands. a command is not a resource...