casEInSensitive. -- REST API

  1. can you change objects CasE ? or making queries that are casEInSensitive for the object/class name .
  2. I also want to make case insensitive text search (think search boxes) -

this is from REST API

For case insensitive search you can either use regex (more expensive) or text search.

For regex, would be something like:

curl -X GET \
  -H "X-Parse-Application-Id: ${APPLICATION_ID}" \
  -H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
  -G \
  --data-urlencode 'where={"name":{"$regex":"casEInSensitive","$options":"i"}}' \
  https://YOUR.PARSE-SERVER.HERE/parse/classes/BarbecueSauce

For text search:

curl -X GET \
  -H "X-Parse-Application-Id: ${APPLICATION_ID}" \
  -H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
  -G \
  --data-urlencode 'where={"name":{"$text":{"$search":{"$term":"casEInSensitive","$caseSensitive":false}}}}' \
  https://api.parse.com/1/classes/BarbecueSauce

thank you muxch appreciated