fix urlManager rules in api

fixes mistakes in urlManager rules:
`<controller>/index` and `<controller>/view` should use `GET`, not `POST`
`<controller>/update` should use `POST` instead `PUT`
`<controller>/create` should use `PUT` instead `POST`