Fixed API; trigger POST and PUT both work.