Fixes #4022: Make api puppetrun a PUT

According to REST a GET shouldn't modify anything so it should be a PUT.