Sacha DSO
Sacha DSO
Hi @ntkon Glad you like it ! :) In case of and error you should be able to get the json via the `jsonPayload` ```swift import ws [...] myApiCall().onError {...
Hi @chadhobson, Unfortunately this is not supported at the moment, the reason being we never needed it. I think we should add this functionality though :) - Solution 1: Have...
Hey @ngocdtph03070, Could you provide the part of the code where you build the request so I can check it out ? Cheers,
the param string generated by ws is `?include=category%2Cuser&where%5Bcoordinate%5D%5B%24maxDistanceInKilometers%5D=1&where%5Bcoordinate%5D%5B%24nearSphere%5D%5B__type%5D=GeoPoint&where%5Bcoordinate%5D%5B%24nearSphere%5D%5Blatitude%5D=20.28631220842546&where%5Bcoordinate%5D%5B%24nearSphere%5D%5Blongitude%5D=106.3068282262995 ` which is `?include=category,user&where[coordinate][$maxDistanceInKilometers]=1&where[coordinate][$nearSphere][__type]=GeoPoint&where[coordinate][$nearSphere][latitude]=20.28631220842546&where[coordinate][$nearSphere][longitude]=106.3068282262995` whereas the one you pasted above generates `?where={%22category%22:{%22$inQuery%22:{%22where%22:{%22objectId%22:%22GPZPzdsk0I%22},%22className%22:%22Category%22}},%22coordinate%22:{%22$nearSphere%22:{%22__type%22:%22GeoPoint%22,%22latitude%22:20.286312208425457,%22longitude%22:106.30682822629947},%20%22$maxDistanceInKilometers%22:%2015.0%20}}&include=category,user` which should be `?where={"category":{"$inQuery":{"where":{"objectId":"GPZPzdsk0I"},"className":"Category"}},"coordinate":{"$nearSphere":{"__type":"GeoPoint","latitude":20.286312208425457,"longitude":106.30682822629947}, "$maxDistanceInKilometers": 15.0 }}&include=category,user` This is indeed...
@ngocdtph03070 What technology are you using on the backend side ? I am curious :)
Ahh cool! thanks for the info :)
@ngocdtph03070 Does your call work now ?
@ngocdtph03070 I guess you already have a helper but here is a way to avoid having to hardcode and escape the JSON string ourselves. ``` swift func dictionaryToJSONString(_ d:[String :...
We are very open to suggestions, could you elaborate on how the api would look like ?
Hi @n13 Thanks a ton for reporting this ! According to you research, I think upgrading to Alamofire 5 seems reasonable. I haven't looked into it yet. I have very...