Hey,
I'm having trouble making a post request to the geoloqi api. The problem is that I cannot create the right structure for the request parameters in Appery's interface.
This is a sample code of what I need to create in Appery:
[{
"date": "2010-07-23T09:19:38-07:00",
"location": {
"position": {
"latitude": 45.445793867111,
"longitude": -122.64261245728,
"speed": 10,
"altitude": 0,
"horizontal_accuracy": 24,
"vertical_accuracy": 0
},
"type": "point"
},
"raw": {
"distance_filter": 5,
"tracking_limit": 2,
"rate_limit": 60,
"battery": 86
},
"client": {
"name": "Geoloqi",
"version": "0.1",
"platform": "iPhone OS 4",
"hardware": "iPhone2,1"
}
}]
The request inside Appery's test interface works partially becuase I still can't make the variables "latitude" and "longitude" to be isolated variables so I can set them from phone's location.
So one problem is to get the latitude and longitude variables independent so I can map them with the interface.
The second (and bigger problem) is that the request doesn't work in the browser tester. I have tried with the Appery proxy and still doesn't work (while other requests for the same api work with the Appery proxy).
Here is what I have at this moment in Appery:
https://dl.dropboxusercontent.com/u/5...
Does anyone know how to solve this?
Best regards,
Bruno