Consuming byte stream data in ember-data



I am facing problem with consuming data in image/png format.

Problem My server return a file data as bytes stream ( content-type is image/png’). When i call a store.find with model it try to fetch the data from server. as data is not in json so default RESTAdapter unable to parse it and throw parsing error. so i provide a custom implementation for adapter ( DS.Adapter ) but when i do this it unable to form the api url ( endpoint/ hook ) based on model name. any suggestion how to consume byte stream data from server using ember-data.