Replaced deprecated method
POST and GET only, resource is based on deviceId