Parse.com is an external BaaS (Backend as a service) provider.
Parse.com provides REST API that lets you interact with Parse.com from anything that can send an HTTP Request. In this tutorial we will send and HTTP Request to Parse.com using PHP CURL.
This tutorial assumes that you have Parse.com account. Follow the below mentioned steps to create a Parse.com App and obtain Application Id.
- Sign In to Parse.com
- Move to Dashobard
- Create a New App
- Copy Application ID, Client Key and REST API Key
The code below will send a PHP CURL request to REST API of Parse.com. You have to place you Application ID and REST API Key with the placeholders. You can run this code on a PHP server.
The response body is a JSON object containing all the user-provided fields except password. It also contains the createdAt,updatedAt, objectId, and sessionToken fields.