Hey all,
I’m trying to get Corona to talk to Parse via the REST API. It should be fairly simple but I’m missing something. The API looks like this…
curl -X GET \
-H "X-Parse-Application-Id: ID\_KEY" \
-H "X-Parse-REST-API-Key: API\_KEY" \
-G \
--data-urlencode 'username=testUser' \
--data-urlencode 'password=testPass' \
https://api.parse.com/1/login
What’s the right way to make this GET request from Corona?
[code]
local function login ()
– ?? I tried various versions of url.escape on the parameters but I’m obviously not getting the format
baseUrl = “https://api.parse.com/1/login”
network.request( baseUrl, “GET”, networkListener, params)
end
[/code] [import]uid: 1560 topic_id: 24102 reply_id: 324102[/import]