curl -X GET -H "X-Parse-Application-Id: ID" -H "X-Parse-REST-API-Key: Key" --data-urlencode 'where={"Column":{"$regex":"^TITLE$","$options":"i"}}' --data-urlencode 'limit=999' https://api.parse.com/1/classes/Class"
apart from changing the server address, I had to remove the /1/
curl -X GET -H "X-Parse-Application-Id: ID" -H "X-Parse-REST-API-Key: Key" --data-urlencode 'where={"Column":{"$regex":"^TITLE$","$options":"i"}}' --data-urlencode 'limit=999' https://parseapi.back4app.com/classes/Class"
Now I'm having problem with updating data.
Old code using parse.com:
curl -X PUT -H "X-Parse-Application-Id: ID" -H "X-Parse-REST-API-Key: Key" -H "Content-Type: application/json" -d '{"Column":{"__type":"Date","iso":"2016-12-26T11:38:05.000Z"}}' https://api.parse.com/1/classes/Class/object
Tried changing this accordingly
curl -X PUT -H "X-Parse-Application-Id: ID" -H "X-Parse-REST-API-Key: Key" -H "Content-Type: application/json" -d '{"Column":{"__type":"Date","iso":"2016-12-26T11:38:05.000Z"}}' https://parseapi.back4app.com/classes/Class/object
But I get the following error message in the result and I haven't find a way to solve the problem.
{"code":105,"error":"Invalid field name: {\"Column\": \"2016-12-26T11:38:05."}
Any Ideas?
curl -X PUT -H "X-Parse-Application-Id: xngyuuHe5BQcVricqkDs71ZLWckutgvjM14V69Xu" -H "X-Parse-REST-API-Key: gnNWEr3fM7FdlE09xB6BiO8XE7XqQH3QzooKbTj5" -H "Content-Type: application/json" -d '{"myColumn":"myValueA"}' https://parseapi.back4app.com/classes/MyClass/1FGao6eG2w