make the http request with device_id