wvteijlingen / Spine

A Swift library for working with JSON:API APIs. It supports mapping to custom model classes, fetching, advanced querying, linking and persisting.
MIT License
266 stars 109 forks source link

Couldn’t fetch resources using spine.fine() with Query #191

Open sachin-sat opened 7 years ago

sachin-sat commented 7 years ago

I couldn’t fetch resources using spine.fine() with Query which is constructed by path ‘https://www.xxx.com/records?search’ When i invoke the URL in any web client, i can get the responses. but which contains data and meta

meta - "meta":{ “name”:[ { “john”:25 }], "time":[ { “last_week”:1, "today":1 }], "type":[ { “person”:1 }] } }

meta goes like that. this is the only API which gives meta in the response that i use. Spine serves perfectly for other APIS. Thanks in advance